v3.0.0
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@^2This 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.