zhaw-web1 / sos-website-v2

0 stars 0 forks source link

Fix package.json problem on build #138

Closed zischler closed 5 years ago

zischler commented 5 years ago

https://webpack.js.org/configuration/resolve/

Add mainFields again and try with copying package.json to the same folder as prerender.js.

zischler commented 5 years ago

It has something todo with the prerender config. Maybe webpack config, maybe prerender.ts. Removed both and it worked.