Closed fralonra closed 4 years ago
Thanks for the info! We were working on this class of issue all last week, and released a new version on Friday that should have fixed this. Please update your deps and try again, and let us know if you're still seeing issues.
Hi all, I created a demo project using
app-template-vue
, and added a plugin@snowpack/plugin-webpack
. But when I ransnowpack build
, there was errors and failed the bundle.The following are what I has done in detail:
@snowpack/plugin-webpack
, and edit thesnowpack.config.json
:yarn build
, and output the errors below:Errors, click to expand
``` ▼ Console [error] ./_dist_/App.js 33:23-35 "export 'createBlock' (imported as '_createBlock') was not found in '/web_modules/vue.js' at HarmonyImportSpecifierDependency._getErrors (/Users/user/project/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:109:11) at HarmonyImportSpecifierDependency.getWarnings (/Users/user/project/node_modules/webpack/lib/dependencies/HarmonyImportSpecifierDependency.js:60:15) at Compilation.reportDependencyErrorsAndWarnings (/Users/user/project/node_modules/webpack/lib/Compilation.js:1454:24) at /Users/user/project/node_modules/webpack/lib/Compilation.js:1258:10 at AsyncSeriesHook.eval [as callAsync] (eval at create (/Users/user/project/node_modules/tapable/lib/HookCodeFactory.js:33:10),Here are my environment:
Is there a bug or am I doing something wrong? Thanks for reply!