entria-fullstack icon indicating copy to clipboard operation
entria-fullstack copied to clipboard

webpack 5

Open sibelius opened this issue 5 years ago • 1 comments

We should keep on bleeding edge, let's experiment with webpack 5

https://github.com/webpack/webpack/releases/tag/v5.0.0-alpha.3

sibelius avatar Jan 02 '19 18:01 sibelius

It is a good idea, specially with a monorepo where we have different use cases (node and web). I would avoid using MemoryFileSystemCache due to the recent problems with memory-fs on other webpack projects.

Be aware that are some limitations on configuration changes (as stated on the full changelog). If we change config, cache is not invalidated, so it would be good to also have a way to either: invalidate cache automatically(hash on webpack.config.js) or delete cache with a npm script.

matheus1lva avatar Jan 02 '19 20:01 matheus1lva