Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"description": "",
"author": "Joas Schilling <[email protected]>",
"scripts": {
"build": "NODE_ENV=production webpack --progress --config webpack.js",
"dev": "NODE_ENV=development webpack --config webpack.js",
"watch": "NODE_ENV=development webpack --progress --watch --config webpack.js",
"build": "webpack --node-env production --progress",
"dev": "webpack --node-env development --progress",
"watch": "webpack --node-env development --progress --watch",
"test:unit": "TZ=UTC jest",
"test:coverage": "TZ=UTC jest --coverage",
"test:watch": "TZ=UTC jest test:unit --watchAll",
Expand Down
2 changes: 2 additions & 0 deletions webpack.js → webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,6 @@ webpackConfig.module.rules.push({
// Add typescript extension resolver
webpackConfig.resolve.extensions.push('.tsx')

webpackConfig.cache = true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marcoambrosini this makes the watching fast again :)


module.exports = webpackConfig