-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Description
Bug Report or Feature Request (mark with an x)
- [ ] bug report
- [ x] feature request
Versions.
@angular/cli: 1.1.2
node: 8.0.0
os: win32 x64
npm: 5.0.0
Repro steps.
STEP 1: create a angular 2 project with angular cli
STEP 2: In .angular-cli.json add any CDN path to styles or scripts as well
STEP 3: run ng build command.
The log given by the failure.
ERROR in multi ./src/styles.css .//@angular/material/prebuilt-themes/indigo-pink.css ./src/https:/fonts.googleapis.com/icon?fami/@angular/material/prebuilt-themes/indigo-pink.css ./src/https:/fonts.googleapis.com/icon?family=Mat
ly=Material+Icons
Module not found: Error: Can't resolve 'D:\WEB_POC\angular2cli\rentals\src\https:\fonts.googleapis.com\icon?family=Material+Icons
' in 'D:\WEB_POC\angular2cli\rentals\node_modules@angular\cli\models\webpack-configs'
@ multi ./src/styles.css ./
erial+Icons
Desired functionality.
To add CDN paths in global scripts or styles, which we are getting error due to path.resolve