chore: parallel builds with Makefile (#3854)

* Revert "revert: Makefile buff-ification (#3700) (#3848)"

This reverts commit e490bdd531.

* fix: fix slim targets in makefile

* fix: don't clobber slim binaries, make sure they're in the correct location
This commit is contained in:
Dean Sheather
2022-09-06 17:27:06 +00:00
committed by GitHub
parent 4f0105ef7e
commit 419d701927
18 changed files with 530 additions and 716 deletions
+1
View File
@@ -60,6 +60,7 @@ export const createCommonWebpackConfig = (options?: { skipTypecheck: boolean }):
// REMARK: It's important to use [contenthash] here to invalidate caches.
filename: "bundle.[contenthash].js",
path: path.resolve(__dirname, "out"),
clean: false,
},
// modules specify how different modules are loaded
+5 -2
View File
@@ -47,8 +47,11 @@ export const config: Configuration = {
output: {
...commonWebpackConfig.output,
// regenerate the entire dist/ directory when producing production builds
clean: true,
// Regenerate the entire out/ directory (except GITKEEP and out/bin/) when
// producing production builds
clean: {
keep: /(GITKEEP|bin\/)/,
},
},
plugins: [