12345678910111213141516171819202122232425262728 |
- const {
- defineConfig
- } = require('@vue/cli-service')
- module.exports = {
- transpileDependencies: true,
- runtimeCompiler: true,
- lintOnSave: true,
- productionSourceMap: false,
-
-
- publicPath: process.env.NODE_ENV !== 'development' ? './' : '/',
- outputDir: 'webgl',
- assetsDir: 'static',
- indexPath: 'index.html',
- devServer: {
- open: false,
- proxy:{},
- },
- chainWebpack: config => {
- config
- .plugin('html')
- .tap(args => {
- args[0].title = "";
- args[0].template = 'public/index.html';
- return args
- })
- }
- }
|