在development
模式下捆绑后,我在控制台中收到这些消息:
webpack output is served from /
i 「wds」: Content not from webpack is served from C:\projectName\dist
i 「wds」: 404s will fallback to /index.html
在webpack.dev.config.js
我有:
output: {
path: path.resolve(__dirname, 'dist'),
filename: '[name].bundle.js'
},
devtool: 'inline-source-map',
devServer: {
contentBase: path.join(__dirname, 'dist'),
disableHostCheck: true,
hot: true,
open: true,
historyApiFallback: true,
port: 8081
},
有人可以解释这些消息吗?当我在控制台中检查源时,启动应用程序后,我有这些文件:
这里一切都好吗?