Closed VagrantAI-c closed 7 years ago
Actually fixed this by changing css loader from
{test: /\.css$/, loader: 'style-loader!css-loader?-minimize', exclude: /src/},
to
{test: /\.css$/, use: ['to-string-loader', 'css-loader'], exclude: /src/},
in webpack.common.js. I wonder if the problem was actually on my side.
I imported md2@0.0.19 into my app.module.ts:
and trying to AOT compile angular 4.1.1 app from webpack angular starter seed with
npm run build:aot
command and getting next error:Something is definitely wrong that compiler points to css file, but removing md2 module from app.module.ts and compiling app then works just fine