foxhound87 / rfx-stack

RFX Stack - Universal App
MIT License
419 stars 42 forks source link

Upgrade to webpack v2 #27

Closed evgenyboxer closed 7 years ago

evgenyboxer commented 7 years ago

I like this stack, and would really love to see it using Webpack 2.

I have one issue - I tried to run "npm run api:prod" after building, and I get an error that it can't find the config.js/model.js files in autoloader.js. I believe its webpack resolve mechanism that changed.

Help wanted :)

foxhound87 commented 7 years ago

Thank you for this pull request. I will try it asap!

foxhound87 commented 7 years ago

I fixed it, check your repo's commits: https://github.com/evgenyboxer/rfx-stack/commit/2eb4f475e5275b015816a9a01d5cbc46966ead4d

I removed the caret for postcss-import too, or it will break the build: https://github.com/postcss/postcss-import/issues/207

foxhound87 commented 7 years ago

Thank you so much for your support!