Commit cf0e794 1 parent ba06106 commit cf0e794 Copy full SHA for cf0e794
File tree 1 file changed +3
-9
lines changed
1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export default {
39
39
input : 'src/main.js' ,
40
40
output : {
41
41
sourcemap : true ,
42
- format : 'iife' , // IIFE format works well in the browser context
42
+ format : 'iife' ,
43
43
name : 'app' ,
44
44
file : 'public/build/bundle.js' ,
45
45
} ,
@@ -57,7 +57,7 @@ export default {
57
57
} ) ,
58
58
59
59
commonjs ( {
60
- include : 'node_modules/**' , // Ensure CommonJS modules are properly handled
60
+ include : 'node_modules/**' ,
61
61
sourceMap : ! production ,
62
62
} ) ,
63
63
@@ -67,22 +67,16 @@ export default {
67
67
]
68
68
} ) ,
69
69
70
- // typescript({
71
- // include: ['src/**/*', 'node_modules/@notemine/wrapper/dist/**/*'],
72
- // }),
73
70
74
- wasm ( ) , // Handle WASM files
71
+ wasm ( ) ,
75
72
76
- // Add PostCSS for CSS handling
77
73
postcss ( {
78
74
extract : true ,
79
75
} ) ,
80
76
81
- // Auto-reload in development mode
82
77
! production && serve ( ) ,
83
78
! production && livereload ( 'public' ) ,
84
79
85
- // Minify for production
86
80
production && terser ( ) ,
87
81
] ,
88
82
You can’t perform that action at this time.
0 commit comments