webpack: include sounds in webserver, and increase asset size so it
does not warn for emojione and main.js
This commit is contained in:
parent
6a1d5cd276
commit
64879cd302
|
@ -10,6 +10,10 @@ module.exports = {
|
|||
context: path.resolve(__dirname, 'src'),
|
||||
entry: './main.js',
|
||||
mode: 'production',
|
||||
performance: {
|
||||
maxEntrypointSize: 600000,
|
||||
maxAssetSize: 600000
|
||||
},
|
||||
output: {
|
||||
path: path.resolve(__dirname, 'build'),
|
||||
},
|
||||
|
@ -27,6 +31,8 @@ module.exports = {
|
|||
new CopyWebpackPlugin({
|
||||
patterns: [
|
||||
"**/*.css",
|
||||
"**/*.mp3",
|
||||
"**/*.ogg",
|
||||
"**/*.svg",
|
||||
"**/*.png",
|
||||
"directives/*.html",
|
||||
|
|
Loading…
Reference in New Issue