Skip to content

v3.0.0

Choose a tag to compare

@nolanlawson nolanlawson released this 29 Mar 17:28
· 58 commits to main since this release
f56ed8c

Breaking changes

lwc and @lwc/module-resolver are now peer dependencies

Rather than bundling its own version of lwc (and other @lwc/* packages), lwc-webpack-plugin now requires lwc and @lwc/module-resolver to be installed as peer dependencies.

Run:

npm install --save-dev lwc@^2 @lwc/module-resolver@^2

This allows you to upgrade lwc and @lwc/module-resolver at your own pace, rather than waiting for lwc-webpack-plugin to update its own bundled versions. Note that lwc and @lwc/module-resolver should have the same version.

TypeScript support is no longer built-in

Rather than handling TypeScript automatically, lwc-webpack-plugin now requires you to bring your own TypeScript toolchain. There are instructions in the README for how to accomplish this.