We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c49f7b commit 566f407Copy full SHA for 566f407
Servers/UI/OJS.Servers.Ui/ClientApp/vite.config.js
@@ -30,25 +30,6 @@ export default defineConfig({
30
main: resolve(__dirname, 'index.html'),
31
admin: resolve(__dirname, 'admin.html')
32
},
33
- output: {
34
- manualChunks(id) {
35
- if (id.includes('node_modules')) {
36
- if (id.includes('react')) {
37
- return 'react-vendor'; // React and its ecosystem
38
- }
39
-
40
- if (id.includes('material')) {
41
- return 'material-vendor'; // Material
42
43
44
- if (id.includes('@mui')) {
45
- return 'mui-vendor'; // Material UI
46
47
48
- return 'vendor'; // Other libraries
49
50
51
- },
52
onwarn(warning, warn) {
53
if (warning.code === 'MODULE_LEVEL_DIRECTIVE') {
54
return
0 commit comments