@rspack/binding
Advanced tools
Comparing version 0.0.0-d2f7a90ee-20221109135547 to 0.0.0-edbbcf17e0-20221116030705
@@ -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 | ||
} | ||
@@ -226,15 +236,2 @@ export interface AssetContent { | ||
} | ||
export const enum DiffStatKind { | ||
Changed = 0, | ||
Deleted = 1, | ||
Added = 2 | ||
} | ||
export interface DiffStat { | ||
content: string | ||
kind: DiffStatKind | ||
} | ||
export interface RebuildResult { | ||
diff: Record<string, DiffStat> | ||
stats: StatsCompilation | ||
} | ||
export interface StatsError { | ||
@@ -241,0 +238,0 @@ message: string |
{ | ||
"name": "@rspack/binding", | ||
"version": "0.0.0-d2f7a90ee-20221109135547", | ||
"version": "0.0.0-edbbcf17e0-20221116030705", | ||
"description": "Node binding for rspack", | ||
@@ -24,4 +24,7 @@ "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:all": "pnpm build:release && pnpm build:release:x64 && pnpm build:release:linux", | ||
"build:release": "napi build --release --platform --js false --dts binding.d.ts --config napirs.rc.json", | ||
"build:release:x64": "napi build --release --platform --js false --dts binding.d.ts --config napirs.rc.json --target x86_64-apple-darwin", | ||
"build:release:linux": "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
33329245
547
374