Jestem żółtodziobem, który chce się o tym dowiedzieć. natknąłem konfliktu podczas uruchamiania mojego WebPACK mówi mi:Konflikt: wiele zasobów emituje tę samą nazwę pliku
ERROR in chunk html [entry] app.js Conflict: Multiple assets emit to the same filename app.js
Co należy zrobić, aby uniknąć konfliktu?
To jest moje webpack.config.js:
module.exports = {
context: __dirname + "/app",
entry: {
'javascript': "./js/app.js",
'html': "./index.html",
},
output: {
path: __dirname + "/dist",
filename: "app.js",
},
resolve: {
extensions: ['.js', '.jsx', '.json']
},
module: {
loaders: [
{
test: /\.jsx?$/,
exclude: /node_modules/,
loaders: ["babel-loader"]
},
{
test: /\.html$/,
loader: "file-loader?name=[name].[ext]",
}
]
}
};
byłoby wspaniale, gdyby ten miał próbkę, który pasował do oryginalnego –