4cfd50c5 by simon

打包压缩

1 parent eb9b1d9f
......@@ -8,4 +8,4 @@ VUE_APP_VHIS_INDEX= 'https://icpois.pingan.com/vhis/insurIndex'
VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB'
VUE_APP_CONTENT_ENCRYPT_SWITCH = true
\ No newline at end of file
VUE_APP_CONTENT_ENCRYPT_SWITCH = true
......
NODE_ENV = 'sandbox'
NODE_ENV = 'production'
VUE_APP_TITLE = 'sandbox'
VUE_APP_BASE_URL= 'https://30.76.147.155'
VUE_APP_RSA_PUBLIC_KEY = 'B5FE03847F02046C47292AF0FF2DE88977241483DD40C123046EB39CBE4C48167B120096CFF12CD16559322884A3C56FA92B07B89AB51FC8C91A75127622151DDD730DFF1F993D5A290CEAC0BBA7FC88285D8994ACBAFF50101EDE9A0925AD5DFFAFE96D53C370E9C5B37DF2F871F81C4D7CA6B7EC37FF459C07975AD9A74A95'
......@@ -6,4 +6,4 @@ VUE_APP_RSA_KEY_INDEX = '10001'
VUE_APP_VHIS_INDEX= 'https://icpois-stg1.pingan.com/vhis/insurIndex'
VUE_APP_CONTENT_ENCRYPT_KEY = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDA1SNj4qiOEmvTkZfp+Gt0UOLTCdxuEqRE+k0fROhgZdN2GmtDg6jcZV/CXKdwQGGdwOYdxEngRQb2K/SXd5Rnu4MkuAoHopDNrBRVqoJNQi6VOv6fvAEzeYivtS9aMM7IvdZuN1QlASCz2vxfUKJ3BaijMQqQE9m0pVm+0BDEfwIDAQAB'
VUE_APP_CONTENT_ENCRYPT_SWITCH = true
\ No newline at end of file
VUE_APP_CONTENT_ENCRYPT_SWITCH = true
......
......@@ -21,7 +21,7 @@ if (process.env.NODE_ENV === 'development') {
// seo插件
plugins.push(
new PrerenderSPAPlugin({
staticDir: path.join(__dirname, webpack_public_path == "" || 'dist'), // 如果没配置环境目录(生产),则写到目录dist
staticDir: path.join(__dirname, webpack_public_path || 'dist'), // 如果没配置环境目录(生产),则写到目录dist
routes: ['/', '/demo', '/about'], // 需要seo的目录 临时占位,后期再进行配置
renderer: new Renderer({
inject: {
......