摘要: 参考:https://webpack.js.org/guides/development/ 1:Webpack.config.js 加入 mode: 'development', 2: 使用source map devtool: 'inline-source-map' 3: 使用webpack-de 阅读全文
posted @ 2021-03-14 21:07 老胡Andy 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 一:基础设置 参考:https://webpack.js.org/guides/getting-started/ npm init -y npm install webpack webpack-cli --save-dev 代码: webpack.config.js const path = req 阅读全文
posted @ 2021-03-14 10:42 老胡Andy 阅读(79) 评论(0) 推荐(0) 编辑