feat: use webpack caching in development (#42286)

* feat: use webpack caching in development

This cuts build time for build-workers considerably.

* fix: update gitpod config

Co-authored-by: Shaun Hamilton <shauhami020@gmail.com>
This commit is contained in:
Oliver Eyton-Williams
2021-05-30 09:59:55 +02:00
committed by GitHub
parent e605800d82
commit 90d2c3b344
3 changed files with 5 additions and 6 deletions

View File

@ -8,6 +8,7 @@ module.exports = (env = {}) => {
const staticPath = path.join(__dirname, './static/js');
const configPath = path.join(__dirname, '../config/client');
return {
cache: __DEV__ ? { type: 'filesystem' } : false,
mode: __DEV__ ? 'development' : 'production',
entry: {
'frame-runner': './src/client/frame-runner.js',