Recently I switched to webpack from angular cli because I was facing issue with some libraries. I manually included few scripts within webpack.config.js file. So, now how can I compile the angular project without switching back to cli?
Previously I used this command to compile the angular project: ng build -prod --aot=false
Is there any equivalent options within webpack?
Why not use yarn
yarn build
Yarn is an alternative package manager for NPM packages with a focus on reliability and speed.
To enable Yarn for Angular CLI you have to run the following command:
ng set --global packageManager=yarn
More info can be find over here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.