@rspack/browser 1.5.4 → 1.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/types.d.ts +4 -0
- package/dist/index.mjs +410 -380
- package/dist/napi-binding.d.ts +4 -8
- package/dist/rspack.wasm32-wasi.wasm +0 -0
- package/dist/schema/config.d.ts +11 -7
- package/dist/schema/utils.d.ts +1 -0
- package/dist/stats/statsFactoryUtils.d.ts +0 -1
- package/package.json +3 -3
package/dist/config/types.d.ts
CHANGED
|
@@ -796,6 +796,10 @@ export type JavascriptParserOptions = {
|
|
|
796
796
|
requireDynamic?: boolean;
|
|
797
797
|
requireResolve?: boolean;
|
|
798
798
|
importDynamic?: boolean;
|
|
799
|
+
/**
|
|
800
|
+
* Enable magic comments for CommonJS require() expressions.
|
|
801
|
+
*/
|
|
802
|
+
commonjsMagicComments?: boolean;
|
|
799
803
|
/** Inline const values in this module */
|
|
800
804
|
inlineConst?: boolean;
|
|
801
805
|
/** Whether to tolerant exportsPresence for type reexport */
|