Open wujekbogdan opened 4 years ago
@wujekbogdan which webpack-node-externals
version do you have?
I'm sorry but it was some work-in-progress code and I never committed it to my repo so I can't tell, but it was the most recent version of the lib because it was newly installed when reporting this bug.
@wujekbogdan is it working now?
That's my current solution that works as exected. All
node_modules
are excluded from build except forsome-library
. When I compile the code then I can see the source ofsome-library
being transpiled with Babel.I'd like to achieve the same with
webpack-node-externals
, so refactored my config to be:When I compile the code I can no longer see that lib being bundled.
I'm not sure is it a bug or am I missing something.