When building an application with angular-cli, it creates a dist folder with four bundled files ( polyfills.bundle.js
, main.bundle.js
, vendor.bundle.js
and inline.bundle.js
) in its root.
Is it possible to indicate another folder ONLY for these files (eg dist/deps/
instead of dist/
)?
If you want to change the output directory from 'dist' to somewhere else, you can do so by changing outDir
in the .angular-cli.json
"apps": [
{
"root": "src",
"outDir": "dist/deps",
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.