Fixed issue with webpack production configuration.

This commit is contained in:
Daan Vanden Bosch 2020-07-19 00:36:35 +02:00
parent 867df3fab9
commit b8fa6f123b

View File

@ -33,11 +33,13 @@ module.exports = merge(common, {
ignoreOrder: true, ignoreOrder: true,
filename: "[name].[contenthash].css", filename: "[name].[contenthash].css",
}), }),
new CopyWebpackPlugin([ new CopyWebpackPlugin({
{ patterns: [
from: path.resolve(__dirname, "assets"), {
to: path.resolve(__dirname, "dist/assets"), from: path.resolve(__dirname, "assets"),
}, to: path.resolve(__dirname, "dist/assets"),
]), },
],
}),
], ],
}); });