Skip to content

Commit ea3d248

Browse files
feat: expose OptimizationStages
2 parents e518d0d + 23561c5 commit ea3d248

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

lib/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,9 @@ module.exports = mergeExports(fn, {
270270
get MultiCompiler() {
271271
return require("./MultiCompiler");
272272
},
273+
get OptimizationStages() {
274+
return require("./OptimizationStages");
275+
},
273276
get Parser() {
274277
return require("./Parser");
275278
},

types.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13645,6 +13645,11 @@ declare namespace exports {
1364513645
export let matchPart: (str: string, test: Matcher) => boolean;
1364613646
export let matchObject: (obj: MatchObject, str: string) => boolean;
1364713647
}
13648+
export namespace OptimizationStages {
13649+
export let STAGE_BASIC: -10;
13650+
export let STAGE_DEFAULT: 0;
13651+
export let STAGE_ADVANCED: 10;
13652+
}
1364813653
export namespace RuntimeGlobals {
1364913654
export let require: "__webpack_require__";
1365013655
export let requireScope: "__webpack_require__.*";

0 commit comments

Comments
 (0)