Skip to content

Commit 8568650

Browse files
authored
lwc 8.15 (#52)
* fix: process undefined in lwc 8.15.0 * fix: bump version
1 parent 3fd9af3 commit 8568650

File tree

8 files changed

+233
-203
lines changed

8 files changed

+233
-203
lines changed

examples/csr/package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
"typecheck": "tsc --noEmit"
1212
},
1313
"devDependencies": {
14-
"@lwc/engine-dom": "^8.14.0",
15-
"lwc": "^8.14.0",
14+
"@lwc/engine-dom": "^8.15.0",
15+
"lwc": "^8.15.0",
1616
"typescript": "^5.8.2",
17-
"vite-plugin-lwc": "^4.0.0"
17+
"vite-plugin-lwc": "^4.0.1",
18+
"vite": "^6.2.0"
1819
}
1920
}

examples/ssr/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
"sirv": "^3.0.1"
1919
},
2020
"devDependencies": {
21-
"@lwc/engine-dom": "^8.14.0",
22-
"@lwc/ssr-runtime": "^8.14.0",
21+
"@lwc/engine-dom": "^8.15.0",
22+
"@lwc/ssr-runtime": "^8.15.0",
2323
"@types/compression": "^1.7.5",
2424
"@types/express": "^5.0.0",
2525
"cross-env": "^7.0.3",
26-
"lwc": "^8.14.0",
27-
"vite-plugin-lwc": "^4.0.0"
26+
"lwc": "^8.15.0",
27+
"vite-plugin-lwc": "^4.0.1"
2828
}
2929
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"devDependencies": {
1818
"@changesets/cli": "^2.28.1",
1919
"@eslint/js": "^9.21.0",
20-
"@types/node": "^22.13.8",
20+
"@types/node": "^22.13.9",
2121
"@vitest/browser": "^3.0.7",
2222
"@vitest/ui": "^3.0.7",
2323
"eslint": "^9.21.0",

packages/vite-plugin-lwc/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# 4.0.0
22

3+
## 4.0.2
4+
5+
### Patch Changes
6+
7+
- c03d3d1: Fix process undefined error in lwc 8.15.0
8+
39
## 4.0.1
410

511
### Patch Changes

packages/vite-plugin-lwc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vite-plugin-lwc",
3-
"version": "4.0.1",
3+
"version": "4.0.2",
44
"license": "MIT",
55
"author": "Matheus Cardoso <[email protected]>",
66
"maintainers": [

packages/vite-plugin-lwc/src/lwc.ts

+7
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ export default function lwcVite(rawConfig: ViteLwcOptions): Plugin {
4646

4747
return {
4848
name: "lwc:vite-plugin",
49+
config() {
50+
return {
51+
define: {
52+
'process.env.SKIP_LWC_VERSION_MISMATCH_CHECK': 'false',
53+
},
54+
}
55+
},
4956
async buildStart(options) {
5057
try {
5158
await csr.buildStart.call(this, options);

playground/lwc/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
"typecheck": "tsc --noEmit"
1313
},
1414
"devDependencies": {
15-
"@lwc/engine-dom": "^8.14.0",
16-
"@lwc/shared": "^8.14.0",
17-
"@lwc/synthetic-shadow": "^8.14.0",
18-
"@lwc/wire-service": "^8.14.0",
19-
"lwc": "^8.14.0",
15+
"@lwc/engine-dom": "^8.15.0",
16+
"@lwc/shared": "^8.15.0",
17+
"@lwc/synthetic-shadow": "^8.15.0",
18+
"@lwc/wire-service": "^8.15.0",
19+
"lwc": "^8.15.0",
2020
"vite-plugin-lwc": "workspace:^"
2121
}
2222
}

0 commit comments

Comments
 (0)