When trying to run npm run build:aot, I get an error if a component references a scss file instead of css.
ERROR in ./src/ngfactory/app/components/app/app.component.scss.ngstyle.ts
Module build failed: Invalid CSS after "...lint:disable */": expected 1 selector or at-rule, was "export const styles"
When trying to run npm run build:aot, I get an error if a component references a scss file instead of css.
ERROR in ./src/ngfactory/app/components/app/app.component.scss.ngstyle.ts Module build failed: Invalid CSS after "...lint:disable */": expected 1 selector or at-rule, was "export const styles"
// Added to webpack.common.js { test: /.scss/, use: [ { loader: 'raw-loader' }, { loader: 'sass-loader' } ] }