Closed hozefaj closed 7 years ago
You must be using version 2 of webpack (currently beta) to utilize the function API.
So if I am using version 2, how can I go about achieving a similar result?
You shouldn't be getting that error with version 2. Make sure that's what you have, then file an issue with the Webpack project if you're still getting that error.
I have the below
webpack.config.js
, but keep getting errorConfig did not export an object
when running commandnpm run webpack --env.dev
Can you point to what I am doing incorrectly? Thanks.