@rspack/binding
Advanced tools
Comparing version 0.0.0-62eab601a2-20221129092758 to 0.0.0-6ce85c31e6-20221209021802
@@ -17,4 +17,10 @@ /* tslint:disable */ | ||
*/ | ||
presetEnv: Array<string> | ||
presetEnv?: Array<string> | ||
modules?: RawCssModulesConfig | ||
} | ||
export interface RawCssModulesConfig { | ||
localsConvention?: string | ||
localIdentName?: string | ||
exportsOnly?: boolean | ||
} | ||
export interface RawDecoratorOptions { | ||
@@ -75,2 +81,6 @@ legacy: boolean | ||
} | ||
export interface Minification { | ||
passes?: number | ||
enable?: boolean | ||
} | ||
export interface RawBuiltins { | ||
@@ -80,3 +90,3 @@ html?: Array<RawHtmlPluginConfig> | ||
postcss?: RawPostCssConfig | ||
minify?: boolean | ||
minify?: Minification | ||
polyfill?: boolean | ||
@@ -86,2 +96,3 @@ browserslist?: Array<string> | ||
treeShaking?: boolean | ||
sideEffects?: boolean | ||
progress?: RawProgressPluginConfig | ||
@@ -91,2 +102,13 @@ react?: RawReactOptions | ||
} | ||
export interface RawCacheOptions { | ||
cacheType: string | ||
maxGenerations: number | ||
maxAge: number | ||
profile: boolean | ||
buildDependencies: Array<string> | ||
cacheDirectory: string | ||
cacheLocation: string | ||
name: string | ||
version: string | ||
} | ||
export interface RawDevServer { | ||
@@ -133,2 +155,4 @@ hot?: boolean | ||
test?: RawModuleRuleCondition | ||
include?: Array<RawModuleRuleCondition> | ||
exclude?: Array<RawModuleRuleCondition> | ||
/** | ||
@@ -163,2 +187,3 @@ * A condition matcher matching an absolute path. | ||
splitChunks?: RawSplitChunksOptions | ||
moduleIds?: string | ||
} | ||
@@ -186,2 +211,12 @@ export interface RawOutputOptions { | ||
} | ||
export interface RawSnapshotStrategy { | ||
hash: boolean | ||
timestamp: boolean | ||
} | ||
export interface RawSnapshotOptions { | ||
resolveBuildDependencies: RawSnapshotStrategy | ||
buildDependencies: RawSnapshotStrategy | ||
resolve: RawSnapshotStrategy | ||
module: RawSnapshotStrategy | ||
} | ||
export interface RawSplitChunksOptions { | ||
@@ -216,2 +251,4 @@ cacheGroups?: Record<string, RawCacheGroupOptions> | ||
devServer?: RawDevServer | ||
snapshot?: RawSnapshotOptions | ||
cache?: RawCacheOptions | ||
} | ||
@@ -218,0 +255,0 @@ export interface JsAssetInfoRelated { |
{ | ||
"name": "@rspack/binding", | ||
"version": "0.0.0-62eab601a2-20221129092758", | ||
"version": "0.0.0-6ce85c31e6-20221209021802", | ||
"description": "Node binding for rspack", | ||
@@ -5,0 +5,0 @@ "main": "binding.js", |
Sorry, the diff of this file is not supported yet
45644460
614