-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Last night Michael Jackson asked how to preserve a dynamic require in a webpack build that targets node.
https://twitter.com/mjackson/status/682698900407357440
I cobbled together a demo showing how to accomplish just that (assuming I'm understanding the question!).
https://github.com/pwmckenna/webpack-node-externals-demo
Please chime in. There was a noParse solution floating around, and I'd love to hear how they differ.
Reactions are currently unavailable