You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something like are-you-es5 can help you check what files need transpilation, then you include them using the regex string it generates /node_modules/(?![plugin-1|plugin-2])/
Has anybody checked if Babel transpiling almost all packages in node_modules slows compilation times significantly?
I just noticed that the default config has a loader that compiles almost all of node_modules:
https://github.com/rails/webpacker/blob/master/package/rules/node_modules.js
I see that a few packages are excluded.
Would it be preferable to have some configuration, maybe in
config/webpacker.yml
that white lists the packages to transpile?The text was updated successfully, but these errors were encountered: