-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painful
Description
prebuilt-themes
top-level directory was deleted from the angular/material2-builds earlier today. Prebuilt themes disappeared in ed9091.
As a result, Angular apps installing the latest Material builds from Git and importing one or more of the prebuilt themes now fail to compile.
@import '~@angular/material/prebuilt-themes/deeppurple-amber.css';
Results in...
ERROR in ./~/css-loader?{"sourceMap":false,"importLoaders":1}!./~/postcss-loader?{"ident":"postcss"}!./src/styles.css
Module not found: Error: Can't resolve '@angular/material/prebuilt-themes/deeppurple-amber.css' in './src'
@ ./~/css-loader?{"sourceMap":false,"importLoaders":1}!./~/postcss-loader?{"ident":"postcss"}!./src/styles.css 4:10-204
@ ./src/styles.css
@ multi ./src/styles.css
webpack: Failed to compile
Was removing prebuilt-themes
an intended change?
If so, is there an alternative recommended method of importing these prebuilt themes, or have they been deprecated entirely?
pmcuong120394, z639, geraldhe, EdricChan03 and tammeorg92
Metadata
Metadata
Assignees
Labels
P1Impacts a large percentage of users; if a workaround exists it is partial or overly painfulImpacts a large percentage of users; if a workaround exists it is partial or overly painful