update
This commit is contained in:
parent
e7a012f0eb
commit
177c55b2f3
@ -1,3 +1,12 @@
|
|||||||
|
/*
|
||||||
|
* @version: V1.0.0
|
||||||
|
* @Date: 2023-03-20 11:20:34
|
||||||
|
* @LastEditors: lzq
|
||||||
|
* @LastEditTime: 2023-03-20 14:44:20
|
||||||
|
* @company: 睿展数据
|
||||||
|
* @FilePath: \variant-form\vue.config.js
|
||||||
|
* @Descripttion:
|
||||||
|
*/
|
||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
@ -14,7 +23,7 @@ const procArgv = process.argv
|
|||||||
console.log('npm config: ', procArgv)
|
console.log('npm config: ', procArgv)
|
||||||
*/
|
*/
|
||||||
let buildProdFlag = false
|
let buildProdFlag = false
|
||||||
if (!!npmConfigArgv) {
|
if (npmConfigArgv) {
|
||||||
npmConfigArgv.original.forEach(cItem => {
|
npmConfigArgv.original.forEach(cItem => {
|
||||||
if (cItem === 'build') {
|
if (cItem === 'build') {
|
||||||
buildProdFlag = true
|
buildProdFlag = true
|
||||||
@ -31,7 +40,7 @@ if (IS_PROD && buildProdFlag) {
|
|||||||
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
publicPath: './',
|
publicPath: '/variant-form',
|
||||||
assetsDir: './',
|
assetsDir: './',
|
||||||
|
|
||||||
/* 开启vue运行时模板编译功能!! */
|
/* 开启vue运行时模板编译功能!! */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user