I'm using "angular-cli": "1.0.0-beta.11-webpack.2"
my angular-cli-build.js I have:
module.exports = function(defaults) {
return new Angular2App(defaults, {
vendorNpmFiles: [
'systemjs/dist/system-polyfills.js',
'systemjs/dist/system.src.js',
'zone.js/dist/**/*.+(js|js.map)',
'es6-shim/es6-shim.js',
'reflect-metadata/**/*.+(ts|js|js.map)',
'rxjs/**/*.+(js|js.map)',
'@angular/**/*.+(js|js.map)',
'bootstrap/dist/css/bootstrap.css'
]
});
};
and my index.html:
<link rel="stylesheet" type="text/css" href="vendor/bootstrap/dist/css/bootstrap.min.css">
but with ng build, i get nothing in /dist folder... how this does work exactly with webpack? I used to work easy with webpack and angular 1, now i see it's really complicated and i wasting a lot of time trying to guess how that must work, and i see angular-cli is just for test, not for real work? there is a way to replace angular-cli compile to override it with webpack in the old way?