@rspack/binding
Advanced tools
Comparing version 0.0.0-9a4458fd17-20221109070840 to 0.0.0-9a86d8579-20221114102256
@@ -19,2 +19,7 @@ /* tslint:disable */ | ||
} | ||
export interface RawDecoratorOptions { | ||
legacy: boolean | ||
emitMetadata: boolean | ||
useDefineForClassFields: boolean | ||
} | ||
/** | ||
@@ -81,3 +86,7 @@ * It seems napi not support enum well | ||
react?: RawReactOptions | ||
decorator?: RawDecoratorOptions | ||
} | ||
export interface RawDevServer { | ||
hot?: boolean | ||
} | ||
/** | ||
@@ -171,2 +180,3 @@ * `loader` is for js side loader, `builtin_loader` is for rust side loader, | ||
stats?: RawStatsOptions | ||
devServer?: RawDevServer | ||
} | ||
@@ -276,2 +286,12 @@ export interface AssetContent { | ||
} | ||
export interface StatsEntrypointAsset { | ||
name: string | ||
size: number | ||
} | ||
export interface StatsEntrypoint { | ||
name: string | ||
assets: Array<StatsEntrypointAsset> | ||
chunks: Array<string> | ||
assetsSize: number | ||
} | ||
export interface StatsCompilation { | ||
@@ -281,2 +301,3 @@ assets: Array<StatsAsset> | ||
chunks: Array<StatsChunk> | ||
entrypoints: Array<StatsEntrypoint> | ||
errors: Array<StatsError> | ||
@@ -283,0 +304,0 @@ errorsCount: number |
{ | ||
"name": "@rspack/binding", | ||
"version": "0.0.0-9a4458fd17-20221109070840", | ||
"version": "0.0.0-9a86d8579-20221114102256", | ||
"description": "Node binding for rspack", | ||
@@ -24,4 +24,5 @@ "main": "binding.js", | ||
"build": "napi build --platform --js false --dts binding.d.ts --config napirs.rc.json", | ||
"build:release": "napi build --release --platform --js false --dts binding.d.ts --config napirs.rc.json" | ||
"build:release": "napi build --release --platform --js false --dts binding.d.ts --config napirs.rc.json", | ||
"build_linux:release": "napi build --release --platform --js false --dts binding.d.ts --config napirs.rc.json --zig --target x86_64-unknown-linux-gnu --zig-abi-suffix=2.17" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33179976
560