dojo / cli-build-webpack

🚀 **DEPRECATED** Dojo 2 - cli command for building applications
http://dojo.io
Other
4 stars 19 forks source link

Issues with eject and running webpack #231

Closed kitsonk closed 6 years ago

kitsonk commented 7 years ago

@umaar commented on Thu Oct 19 2017

Link: https://dojo.io/tutorials/006_deploying_to_production/#4

Step 4: When I run the webpack command as the tutorial mentions (after dojo eject), I get errors:

ERROR in ./~/@dojo/cli-build-webpack/loaders/css-module-decorator-loader!./~/css-loader?modules&sourceMap&importLoaders=1&localIdentName=[hash:base64:8]!./~/postcss-loader/lib?{"config":{"path":"/Users/umarhansa/Downloads/006_deploying_to_production/initial/biz-e-corp/config/build-webpack/postcss.config.js"}}!./src/main.css
Module build failed: Error: No PostCSS Config found in: /Users/umarhansa/Downloads/006_deploying_to_production/initial/biz-e-corp/config/build-webpack/postcss.config.js
    at /Users/umarhansa/Downloads/006_deploying_to_production/initial/biz-e-corp/node_modules/postcss-load-config/index.js:51:26
    at <anonymous>
agubler commented 6 years ago

This command has been deprecated in favour of cli-build-app which once ejected builds the project as expected.