perf: disable sourcemap when building in prod
All checks were successful
repod / xml (push) Successful in 10s
repod / php (push) Successful in 39s
repod / nodejs (push) Successful in 1m19s
repod / release (push) Has been skipped

This commit is contained in:
Michel Roux 2024-05-30 00:18:50 +02:00
parent 46eb48e81e
commit 93b3cdbdc0

View File

@ -13,6 +13,7 @@ webpackConfig.plugins.push(
files: 'src',
}),
)
webpackConfig.plugins.push(
new StyleLintPlugin({
files: 'src/**/*.{css,scss,vue}',
@ -24,4 +25,7 @@ webpackConfig.module.rules.push({
type: 'asset/source',
})
webpackConfig.devtool =
webpackConfig.mode !== 'production' ? webpackConfig.devtool : false
module.exports = webpackConfig