🔨 Remove asset size warning

This commit is contained in:
Alicia Sykes 2024-04-13 14:07:06 +01:00
parent bbb9ce7272
commit 77236779c8
1 changed files with 9 additions and 1 deletions

View File

@ -26,9 +26,17 @@ const configureWebpack = {
module: { module: {
rules: [ rules: [
{ test: /.svg$/, loader: 'vue-svg-loader' }, { test: /.svg$/, loader: 'vue-svg-loader' },
{ test: /\.tsx?$/, loader: 'ts-loader', options: { appendTsSuffixTo: [/\.vue$/] } }, {
test: /\.tsx?$/,
loader: 'ts-loader',
options: { appendTsSuffixTo: [/\.vue$/] },
},
], ],
}, },
performance: {
maxEntrypointSize: 10000000,
maxAssetSize: 10000000,
},
}; };
// Development server config // Development server config