1
0
Files
frost-zx.github.io/vue.config.js
2022-03-01 23:42:21 +08:00

24 lines
411 B
JavaScript

const { defineConfig } = require('@vue/cli-service');
const { npm_package_name: packageName } = process.env;
if (packageName) {
process.title = packageName;
}
module.exports = defineConfig({
assetsDir: 'static',
publicPath: './',
outputDir: 'dist',
productionSourceMap: false,
transpileDependencies: false,
devServer: {
host: '0.0.0.0',
port: 9000,
},
});