|
@@ -51,7 +51,7 @@ export default defineConfig({
|
|
ignoreMomentLocale: true,
|
|
ignoreMomentLocale: true,
|
|
base: '/sgadmin/',
|
|
base: '/sgadmin/',
|
|
publicPath: REACT_APP_ENV === 'pro' ? '/sgadmin/' : '/',
|
|
publicPath: REACT_APP_ENV === 'pro' ? '/sgadmin/' : '/',
|
|
- outputPath: 'dist',
|
|
|
|
|
|
+ outputPath: 'dist/sgadmin',
|
|
proxy: proxy[REACT_APP_ENV || 'dev'],
|
|
proxy: proxy[REACT_APP_ENV || 'dev'],
|
|
manifest: {
|
|
manifest: {
|
|
basePath: '/sgadmin',
|
|
basePath: '/sgadmin',
|