@rspack/binding
Advanced tools
Comparing version 0.0.0-02df4322c5-20221125030212 to 0.0.0-11afc8e36-20221128093256
@@ -90,2 +90,6 @@ /* tslint:disable */ | ||
} | ||
export interface RawEntryItem { | ||
import: Array<string> | ||
runtime?: string | ||
} | ||
/** | ||
@@ -191,3 +195,3 @@ * `loader` is for js side loader, `builtin_loader` is for rust side loader, | ||
export interface RawOptions { | ||
entry?: Record<string, string> | ||
entry?: Record<string, RawEntryItem> | ||
mode?: string | ||
@@ -194,0 +198,0 @@ target?: string[] |
{ | ||
"name": "@rspack/binding", | ||
"version": "0.0.0-02df4322c5-20221125030212", | ||
"version": "0.0.0-11afc8e36-20221128093256", | ||
"description": "Node binding for rspack", | ||
@@ -20,7 +20,9 @@ "main": "binding.js", | ||
"@napi-rs/cli": "^2.6.2", | ||
"why-is-node-running": "2.2.1" | ||
"why-is-node-running": "2.2.1", | ||
"npm-run-all": "4.1.5" | ||
}, | ||
"scripts": { | ||
"build": "napi build --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:debug": "napi build --platform --js false --dts binding.d.ts --config napirs.rc.json", | ||
"build:debug:x64": "napi build --platform --js false --dts binding.d.ts --config napirs.rc.json --target x86_64-apple-darwin", | ||
"build:release:all": "run-p build:release build:release:x64 build:release:linux", | ||
"build:release": "napi build --release --platform --js false --dts binding.d.ts --config napirs.rc.json", | ||
@@ -27,0 +29,0 @@ "build:release:x64": "napi build --release --platform --js false --dts binding.d.ts --config napirs.rc.json --target x86_64-apple-darwin", |
Sorry, the diff of this file is not supported yet
33645592
577
5
9
3
3
326