webpack-plugin-serve: webpack-plugin-serve/client is wrongly transpiled with babel

  • Webpack Version: 4.27.1
  • Operating System (or Browser): mac os sierra
  • Node Version: 8.12
  • webpack-plugin-serve Version: 0.2.2

How Do We Reproduce?

Expected Behavior

webpack-plugin-serve/client should not be touched by babel loader if node_modules are excluded

Actual Behavior

webpack-plugin-serve/client is tranpiled by babel loader even with exclude: /node_modules/

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 17 (4 by maintainers)

Most upvoted comments

Seems like this is not a problem anymore. I setup nano and serve from the beginning and they work great.

Sokra told me that even node_modules being on exclude option, it should be excluded. Probably we found a bug on webpack… i’m going to post this example repo on webpack as an issue and see what we get. My suspicions were wrong.

Is this a plugin problem or a webpack problem though? I’m not sure if there’s anything we can do about that from our side of things. As a test, please try adding webpack-plugin-serve/client to the exclude option.