Files
tsd_test/www/first.loc/vue.config.js
2026-03-25 13:51:25 +00:00

29 lines
939 B
JavaScript

const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
productionSourceMap: false,
transpileDependencies: true,
devServer: {
allowedHosts: [
'mpc.book-online.ru',
'api.book-online.ru',
'tsd.book-online.ru',
],
},
configureWebpack : {
performance: {
hints:'warning',
// maximum volume of the inlet integer type origin (in bytes)
maxEntrypointSize: 50000000,
// generates a maximum volume of integer type file (300K bytes)
maxAssetSize: 700000000,
// only gives performance tips js file
// assetFilter: function(assetFilename) {
// // Provide the assertion function of the resource file name
// return assetFilename.endsWith('.css') || assetFilename.endsWith('.js') || assetFilename.endsWith('.ttf');
//
// }
}
}
})