odoe / jsapi-webpack

Sample using the webpack plugin with babel
20 stars 10 forks source link

Can't resolve `fs` during build #11

Open PierreNoll opened 5 years ago

PierreNoll commented 5 years ago

Hi,

when I start the app, webpack fail to compile because it can't resolve fs in node_modules\arcgis-js-api\libs\draco

PierreNoll commented 5 years ago

Adding the following to the node section of the webpack config seems to solve the issue :

fs: "empty"