|
@@ -26,7 +26,6 @@ function resolve(dir: string) {
|
|
|
// const proxyUrl = 'https://dev.kt.colexiu.com/';
|
|
|
const proxyUrl = 'https://test.lexiaoya.cn';
|
|
|
const now = new Date().getTime();
|
|
|
-const sign = `e/${now}`;
|
|
|
export default defineConfig(() => {
|
|
|
return {
|
|
|
base: './',
|
|
@@ -137,17 +136,7 @@ export default defineConfig(() => {
|
|
|
__APP_VERSION__: now
|
|
|
},
|
|
|
build: {
|
|
|
- target: 'es2015',
|
|
|
- rollupOptions: {
|
|
|
- input: {
|
|
|
- 1: path.resolve(__dirname, './src/index.html')
|
|
|
- },
|
|
|
- output: {
|
|
|
- entryFileNames: `${sign}/[name].js`,
|
|
|
- chunkFileNames: `${sign}/[name].js`,
|
|
|
- assetFileNames: `${sign}/[name].[ext]`
|
|
|
- }
|
|
|
- }
|
|
|
+ target: 'es2015'
|
|
|
},
|
|
|
resolve: {
|
|
|
alias: {
|