I'm having a hard time editing the webpack config inside my next js project (https://github.com/zeit/next.js)
I need to enable polling inside the watch options.
How can I do this inside my next.config.js file:
webpack: function (config, {dev}) {
if (dev) {
watchOptions: {
poll: true
}
return config
}
return config
}
}
via Dileet
No comments:
Post a Comment