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
hello~
Thanks for the plugin. I used to think that the next-babel-loader uses exclude to exclude node_modules. I did not know why the code in node_modules can't be imported until I saw the webpack.externals in your code. Now I think there's no need to push a new defaultLoaders, which is repetitive. You may want to delete it. https://github.com/martpie/next-transpile-modules/blob/master/index.js#L65
The text was updated successfully, but these errors were encountered:
I'm so sorry. I have a different usage scenarios. I only want to exclude some package of node_modules from externals.I don't need the next-babel-loader.You are right.
hello~
Thanks for the plugin. I used to think that the
next-babel-loader
usesexclude
to excludenode_modules
. I did not know why the code innode_modules
can't be imported until I saw thewebpack.externals
in your code. Now I think there's no need to push a newdefaultLoaders
, which is repetitive. You may want to delete it.https://github.com/martpie/next-transpile-modules/blob/master/index.js#L65
The text was updated successfully, but these errors were encountered: