File tree Expand file tree Collapse file tree 8 files changed +6
-6
lines changed Expand file tree Collapse file tree 8 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -542,7 +542,7 @@ if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
542542
543543if ( ! nativeBinding && globalThis . process ?. versions ?. [ "webcontainer" ] ) {
544544 try {
545- nativeBinding = require ( './webcontainer-fallback.js ' ) ;
545+ nativeBinding = require ( './webcontainer-fallback.cjs ' ) ;
546546 } catch ( err ) {
547547 loadErrors . push ( err )
548548 }
Original file line number Diff line number Diff line change 3535 " index.d.ts" ,
3636 " index.js" ,
3737 " browser.js" ,
38- " webcontainer-fallback.js "
38+ " webcontainer-fallback.cjs "
3939 ],
4040 "publishConfig" : {
4141 "registry" : " https://registry.npmjs.org/" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ data = data.replace(
88 `
99if (!nativeBinding && globalThis.process?.versions?.["webcontainer"]) {
1010 try {
11- nativeBinding = require('./webcontainer-fallback.js ');
11+ nativeBinding = require('./webcontainer-fallback.cjs ');
1212 } catch (err) {
1313 loadErrors.push(err)
1414 }
File renamed without changes.
Original file line number Diff line number Diff line change @@ -542,7 +542,7 @@ if (!nativeBinding || process.env.NAPI_RS_FORCE_WASI) {
542542
543543if ( ! nativeBinding && globalThis . process ?. versions ?. [ "webcontainer" ] ) {
544544 try {
545- nativeBinding = require ( './webcontainer-fallback.js ' ) ;
545+ nativeBinding = require ( './webcontainer-fallback.cjs ' ) ;
546546 } catch ( err ) {
547547 loadErrors . push ( err )
548548 }
Original file line number Diff line number Diff line change 3535 " index.d.ts" ,
3636 " index.js" ,
3737 " browser.js" ,
38- " webcontainer-fallback.js "
38+ " webcontainer-fallback.cjs "
3939 ],
4040 "publishConfig" : {
4141 "registry" : " https://registry.npmjs.org/" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ data = data.replace(
88 `
99if (!nativeBinding && globalThis.process?.versions?.["webcontainer"]) {
1010 try {
11- nativeBinding = require('./webcontainer-fallback.js ');
11+ nativeBinding = require('./webcontainer-fallback.cjs ');
1212 } catch (err) {
1313 loadErrors.push(err)
1414 }
File renamed without changes.
You can’t perform that action at this time.
0 commit comments