From 57909b17c8c75a2bc44a4e5df4514ceace49f9f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Ku=C3=9F?= Date: Sun, 13 Dec 2020 17:11:04 +0100 Subject: [PATCH] Improve example build time --- .gitignore | 3 ++- example/webpack.config.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 48e80227..6fd8e81d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,4 +6,5 @@ node_modules /example/public/hof_furni /example/public/figure /example/public/resources -/example/public/images \ No newline at end of file +/example/public/images +/storybook/public \ No newline at end of file diff --git a/example/webpack.config.js b/example/webpack.config.js index e285b6f5..30bacb98 100644 --- a/example/webpack.config.js +++ b/example/webpack.config.js @@ -15,6 +15,7 @@ module.exports = { extensions: [".tsx", ".ts", ".js", ".mjs"], fallback: { "buffer": false, "timers": false } }, + optimization: { splitChunks: { chunks: 'all' }, runtimeChunk: true, minimizer: [] }, module: { rules: [ {