c1
This commit is contained in:
28
www/first.loc/vue.config.js
Normal file
28
www/first.loc/vue.config.js
Normal file
@@ -0,0 +1,28 @@
|
||||
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');
|
||||
//
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user