@rspack/binding
Advanced tools
Comparing version 0.0.0-28c9a9ca7c-20221122072855 to 0.0.0-2b6f22786b-20221128111122
@@ -107,8 +107,31 @@ /* tslint:disable */ | ||
} | ||
export interface RawModuleRuleCondition { | ||
/** Condition can be either a `string` or `Regexp`. */ | ||
type: "string" | "regexp" | ||
/** | ||
* Based on the condition type, the value can be either a `string` or `Regexp`. | ||
* - "string": The value will be matched against the string. | ||
* - "regexp": The value will be matched against the raw regexp source from JS side. | ||
*/ | ||
matcher?: string | ||
} | ||
export interface RawModuleRule { | ||
test?: string | ||
resource?: string | ||
resourceQuery?: string | ||
/** | ||
* A condition matcher matching an absolute path. | ||
* - String: To match the input must start with the provided string. I. e. an absolute directory path, or absolute path to the file. | ||
* - Regexp: It's tested with the input. | ||
*/ | ||
test?: RawModuleRuleCondition | ||
/** | ||
* A condition matcher matching an absolute path. | ||
* See `test` above | ||
*/ | ||
resource?: RawModuleRuleCondition | ||
/** | ||
* A condition matcher against the resource query. | ||
* TODO: align with webpack's `?` prefixed `resourceQuery` | ||
*/ | ||
resourceQuery?: RawModuleRuleCondition | ||
func?: (...args: any[]) => any | ||
uses?: Array<RawModuleRuleUse> | ||
use?: Array<RawModuleRuleUse> | ||
type?: "js" | "jsx" | "ts" | "tsx" | "css" | "json" | "asset" | "asset/resource" | "asset/source" | "asset/inline" | ||
@@ -138,2 +161,4 @@ } | ||
chunkFilename?: string | ||
cssFilename?: string | ||
cssChunkFilename?: string | ||
uniqueName?: string | ||
@@ -150,3 +175,3 @@ } | ||
symlinks?: boolean | ||
tsconfig?: string | ||
tsConfigPath?: string | ||
} | ||
@@ -153,0 +178,0 @@ export interface RawSplitChunksOptions { |
{ | ||
"name": "@rspack/binding", | ||
"version": "0.0.0-28c9a9ca7c-20221122072855", | ||
"version": "0.0.0-2b6f22786b-20221128111122", | ||
"description": "Node binding for rspack", | ||
@@ -20,7 +20,8 @@ "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: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 +28,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
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
33645399
573
3