Skip to content

Commit a0bcae7

Browse files
some vite config cleanup
1 parent a884b1b commit a0bcae7

File tree

3 files changed

+3
-39
lines changed

3 files changed

+3
-39
lines changed

package-lock.json

Lines changed: 1 addition & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
"sass": "^1.83.0",
3535
"typescript": "~5.6.2",
3636
"typescript-eslint": "^8.15.0",
37-
"vite": "^6.0.1",
38-
"vite-plugin-commonjs": "^0.10.4"
37+
"vite": "^6.0.1"
3938
}
4039
}

vite.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import {defineConfig} from 'vite';
22
import react from '@vitejs/plugin-react';
3-
import commonjs from 'vite-plugin-commonjs';
43
import path from 'path';
54

65

76
export default defineConfig({
8-
plugins: [react(), commonjs()],
7+
plugins: [react()],
98
resolve: {
109
dedupe: ["react", "react-dom"],
1110
alias: {
@@ -17,7 +16,6 @@ export default defineConfig({
1716
},
1817
build: {
1918
commonjsOptions: {
20-
transformMixedEsModules: true,
2119
include: [/circuit-sketcher-core/, /node_modules/],
2220
},
2321
},

0 commit comments

Comments
 (0)