@pinnacle0/webpack-util 0.3.35 → 0.3.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinnacle0/webpack-util",
3
- "version": "0.3.35",
3
+ "version": "0.3.36",
4
4
  "license": "MIT",
5
5
  "main": "src/index.js",
6
6
  "dependencies": {
@@ -39,6 +39,7 @@
39
39
  "devDependencies": {
40
40
  "@pinnacle0/devtool-util": "1.1.4",
41
41
  "@types/babel__core": "7.1.19",
42
+ "@types/fs-extra": "9.0.13",
42
43
  "@types/html-webpack-plugin": "3.2.6",
43
44
  "@types/yargs": "17.0.13",
44
45
  "typescript": "4.8.4"
@@ -56,6 +57,7 @@
56
57
  "run-script": "ts-node --project config/tsconfig.script.json",
57
58
  "build": "pnpm run run-script script/build.ts",
58
59
  "format": "pnpm run run-script script/format.ts",
59
- "test": "jest --config config/jest.config.ts"
60
+ "test": "jest --config config/jest.config.ts",
61
+ "prepublish": "pnpm build"
60
62
  }
61
63
  }
@@ -6,7 +6,7 @@ export interface WebpackServerStarterOptions extends Pick<WebpackConfigGenerator
6
6
  target: string;
7
7
  context: string[];
8
8
  };
9
- interceptExpressApp?: (app: DevServer["app"]) => void;
9
+ interceptExpressApp?: (app: NonNullable<DevServer["app"]>) => void;
10
10
  }
11
11
  /**
12
12
  * Start webpack dev server, by creating WebpackServerStarter instance and then run.