react-server icon indicating copy to clipboard operation
react-server copied to clipboard

Investigate use of babel-loader cacheDir

Open doug-wade opened this issue 9 years ago • 2 comments

The babel-loader docs have this tantalizing tidbit

You can also speed up babel-loader by as much as 2x by using the cacheDirectory option. This will cache transformations to the filesystem.

We should check it out

doug-wade avatar Jun 22 '16 23:06 doug-wade

It is even used babel-loader in react server @doug-wade ? I have searched for references inside the project but I haven't found anything, maybe we could remove it in this issue #277 . Please tell me if I'm wrong I don't have a lot of knowledge about this repo

rodrijuarez avatar Nov 27 '16 21:11 rodrijuarez

Ooh, yeah that's a tricky thing about webpack loaders. The underlying module name is built up from partial input. Here's where babel-loader is referenced... just as "babel". 😬

gigabo avatar Nov 28 '16 20:11 gigabo