## 常见问题 ``` DevTools failed to parse SourceMap: webpack:///node\_modules/sockjs-client/dist/sockjs.js.map ``` > 安装 npm install inline-source-map ### webpack.config.js配置 ``` module.exports = { ... devtool: 'inline-source-map' } ``` *** *** ### 本地调试报错(没有webpack-dev-server运行) ``` Uncaught SyntaxError: Cannot use import statement outside a module ``` > js文件引入css文件:`import '../asset/style/css/base.css';` > 打包后的是不会出现的