File tree Expand file tree Collapse file tree 4 files changed +158
-175
lines changed
Expand file tree Collapse file tree 4 files changed +158
-175
lines changed Original file line number Diff line number Diff line change 11import builtins from 'builtin-modules' ;
22import esbuild from 'esbuild' ;
33import { getBuildBanner } from 'build/buildBanner' ;
4- import { nodeModulesPolyfillPlugin } from 'esbuild-plugins-node-modules-polyfill' ;
54
65const banner = getBuildBanner ( 'Release Build' , version => version ) ;
76
@@ -38,15 +37,7 @@ const build = await esbuild.build({
3837 define : {
3938 MB_GLOBAL_CONFIG_DEV_BUILD : 'false' ,
4039 } ,
41- plugins : [
42- nodeModulesPolyfillPlugin ( {
43- modules : {
44- fs : true ,
45- path : true ,
46- url : true ,
47- } ,
48- } ) ,
49- ] ,
40+ plugins : [ ] ,
5041} ) ;
5142
5243const file = Bun . file ( 'meta.txt' ) ;
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import esbuild from 'esbuild';
22import copy from 'esbuild-plugin-copy-watch' ;
33import manifest from '../../manifest.json' assert { type : 'json' } ;
44import { getBuildBanner } from 'build/buildBanner' ;
5- import { nodeModulesPolyfillPlugin } from 'esbuild-plugins-node-modules-polyfill' ;
65
76const banner = getBuildBanner ( 'Dev Build' , _ => 'Dev Build' ) ;
87
@@ -50,13 +49,6 @@ const context = await esbuild.context({
5049 } ,
5150 ] ,
5251 } ) ,
53- nodeModulesPolyfillPlugin ( {
54- modules : {
55- fs : true ,
56- path : true ,
57- url : true ,
58- } ,
59- } ) ,
6052 ] ,
6153} ) ;
6254
You can’t perform that action at this time.
0 commit comments