|
@@ -36,7 +36,7 @@ function getExternals(isDev) {
|
|
export default defineConfig(({ mode,command }) => {
|
|
export default defineConfig(({ mode,command }) => {
|
|
const env = loadEnv(mode, process.cwd())
|
|
const env = loadEnv(mode, process.cwd())
|
|
return {
|
|
return {
|
|
- base: '/jy_mobile/',
|
|
|
|
|
|
+ base: env.VITE_APP_BASE_PUBLIC,
|
|
build: {
|
|
build: {
|
|
sourcemap: true,
|
|
sourcemap: true,
|
|
outDir: '../../dist/jy_mobile',
|
|
outDir: '../../dist/jy_mobile',
|