Skip to content

Commit ea9d371

Browse files
committed
build: update vite config
1 parent e41b924 commit ea9d371

2 files changed

Lines changed: 0 additions & 18 deletions

File tree

packages/admin/vite.config.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,9 @@ import { version } from './package.json';
1010
export default defineConfig({
1111
define: {
1212
VERSION: JSON.stringify(version),
13-
// eslint-disable-next-line @typescript-eslint/naming-convention
1413
'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV ?? 'development'),
1514
},
1615

17-
css: {
18-
preprocessorOptions: {
19-
scss: {
20-
api: 'modern',
21-
},
22-
},
23-
},
24-
2516
plugins: [react(), svgr(), cssInjectedByJsPlugin()],
2617

2718
build: {
@@ -35,9 +26,7 @@ export default defineConfig({
3526
server: {
3627
port: 9010,
3728
proxy: {
38-
// eslint-disable-next-line @typescript-eslint/naming-convention
3929
'/token': 'http://localhost:9090',
40-
// eslint-disable-next-line @typescript-eslint/naming-convention
4130
'/user': 'http://localhost:9090',
4231
},
4332
},

packages/client/vite.config.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ export default defineConfig({
1111
define: {
1212
VERSION: JSON.stringify(pkg.version),
1313
},
14-
css: {
15-
preprocessorOptions: {
16-
scss: {
17-
api: 'modern',
18-
},
19-
},
20-
},
2114
plugins: [vue()],
2215
envDir: resolve(__dirname),
2316
envPrefix: ['VITE_', 'SERVERURL'],

0 commit comments

Comments
 (0)