Skip to content

Instantly share code, notes, and snippets.

@zephraph
Last active January 17, 2020 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zephraph/663e64aea1a630f7cca98c96da26bad4 to your computer and use it in GitHub Desktop.
Save zephraph/663e64aea1a630f7cca98c96da26bad4 to your computer and use it in GitHub Desktop.
Timing tester
repeat
5

Baseline

yarn webpack

Webpack with futureEmitAssets

yarn webpack
diff --git a/webpack/envs/baseConfig.js b/webpack/envs/baseConfig.js
index bc4162a1e..33d043331 100644
--- a/webpack/envs/baseConfig.js
+++ b/webpack/envs/baseConfig.js
@@ -19,6 +19,7 @@ exports.baseConfig = {
     filename: "[name].js",
     path: path.resolve(basePath, "public/assets"),
     publicPath: "/assets/",
+    futureEmitAssets: true,
   },
   module: {
     rules: [
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment