@rspack-debug/browser 2.0.0-beta.7 → 2.0.0-beta.8

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.
@@ -530,6 +530,7 @@ export declare enum BuiltinPluginName {
530
530
  DynamicEntryPlugin = 'DynamicEntryPlugin',
531
531
  ExternalsPlugin = 'ExternalsPlugin',
532
532
  NodeTargetPlugin = 'NodeTargetPlugin',
533
+ EsmNodeTargetPlugin = 'EsmNodeTargetPlugin',
533
534
  ElectronTargetPlugin = 'ElectronTargetPlugin',
534
535
  EnableChunkLoadingPlugin = 'EnableChunkLoadingPlugin',
535
536
  EnableLibraryPlugin = 'EnableLibraryPlugin',
@@ -1171,6 +1172,7 @@ export interface JsRsdoctorModule {
1171
1172
  issuerPath: Array<number>
1172
1173
  bailoutReason: Array<string>
1173
1174
  sideEffectsLocations: Array<JsRsdoctorSideEffectLocation>
1175
+ exportsType: string
1174
1176
  }
1175
1177
 
1176
1178
  export interface JsRsdoctorModuleGraph {
@@ -1772,12 +1774,6 @@ export interface NapiResolveOptions {
1772
1774
  * Default `false`
1773
1775
  */
1774
1776
  enablePnp?: boolean
1775
- /**
1776
- * Path to PnP manifest file
1777
- *
1778
- * Default `None`
1779
- */
1780
- pnpManifest?: string | false
1781
1777
  }
1782
1778
 
1783
1779
  export interface NativeWatcherOptions {
@@ -2193,6 +2189,12 @@ export interface RawDynamicEntryPluginOptions {
2193
2189
  entry: () => Promise<RawEntryDynamicResult[]>
2194
2190
  }
2195
2191
 
2192
+ export interface RawEnableLibraryPluginOptions {
2193
+ libraryType: string
2194
+ preserveModules?: string
2195
+ splitChunks?: RawSplitChunksOptions
2196
+ }
2197
+
2196
2198
  export interface RawEntryDynamicResult {
2197
2199
  import: Array<string>
2198
2200
  options: JsEntryOptions
@@ -2834,7 +2836,6 @@ export interface RawResolveOptions {
2834
2836
  restrictions?: (string | RegExp)[]
2835
2837
  roots?: Array<string>
2836
2838
  pnp?: boolean
2837
- pnpManifest?: string | false
2838
2839
  }
2839
2840
 
2840
2841
  export interface RawResolveOptionsWithDependencyType {
@@ -2862,7 +2863,6 @@ export interface RawResolveOptionsWithDependencyType {
2862
2863
  dependencyType?: string
2863
2864
  resolveToContext?: boolean
2864
2865
  pnp?: boolean
2865
- pnpManifest?: string | false
2866
2866
  }
2867
2867
 
2868
2868
  export interface RawResolveTsconfigOptions {
@@ -2888,6 +2888,11 @@ export interface RawRslibPluginOptions {
2888
2888
  * @default `false`
2889
2889
  */
2890
2890
  forceNodeShims?: boolean
2891
+ /**
2892
+ * Externalize Node.js builtin modules with ESM-aware external types
2893
+ * @default `false`
2894
+ */
2895
+ externalEsmNodeBuiltin?: boolean
2891
2896
  }
2892
2897
 
2893
2898
  export interface RawRstestPluginOptions {
@@ -3050,8 +3055,7 @@ export interface RealDependencyLocation {
3050
3055
  end?: SourcePosition
3051
3056
  }
3052
3057
 
3053
- /**
3054
- * this is a process level tracing, which means it would be shared by all compilers in the same process
3058
+ /** * this is a process level tracing, which means it would be shared by all compilers in the same process
3055
3059
  * only the first call would take effect, the following calls would be ignored
3056
3060
  * Some code is modified based on
3057
3061
  * https://github.com/swc-project/swc/blob/d1d0607158ab40463d1b123fed52cc526eba8385/bindings/binding_core_node/src/util.rs#L29-L58