webpack打包时出错error in entry module not found: error can't resolve 'a.js' in ...
webpack打包时出错error in entry module not found: error can't resolve 'a.js' in ...
package.json文件如下
原因是:webpack.config.js
配置项里面的entry后面应该为 entry: './a.js'
然后就可以了
webpack打包时出错error in entry module not found: error can't resolve 'a.js' in ...
package.json文件如下
原因是:webpack.config.js
配置项里面的entry后面应该为 entry: './a.js'
然后就可以了