We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ac6def commit 5085da3Copy full SHA for 5085da3
packages/angular_devkit/build_angular/src/angular-cli-files/plugins/postcss-cli-resources.ts
@@ -46,7 +46,11 @@ async function resolve(
46
}
47
48
49
-export default postcss.plugin('postcss-cli-resources', (options: PostcssCliResourcesOptions) => {
+export default postcss.plugin('postcss-cli-resources', (options: PostcssCliResourcesOptions | undefined) => {
50
+ if (!options) {
51
+ throw new Error('No options were specified to "postcss-cli-resources".');
52
+ }
53
+
54
const {
55
deployUrl = '',
56
baseHref = '',
0 commit comments