Angular CLI include folder of scripts/styles?

2019-07-02 14:17发布

问题:

I'm attempting to migrate from Angular 1 to 4. I was using the Yeoman Generator for the Angular 1 app but it seems Angular CLI is the way to go with Angular 2.

I'd like to import the Angular 1 app into Angular 2 and use the UpgradeModule. Is it possible, in the angular-cli.json file, to import a folder of JS files using wildcards? Or is there a better way to include my Angular 1 app inside the Angular 2 CLI environment?