These are chat archives for AngularClass/angular2-webpack-starter

20th
Feb 2017
Andrey Konstantinov
@avkonst_twitter
Feb 20 2017 06:37
Hi, I have attempted to add external css file (leaflet.css) via "@import 'leaflet/dist/leaflet.css';" (i.e. I have followed the instructions for the example with bootstrap.scss). Unfortunately, I have got the problem: ERROR in ./~/css-loader!./~/sass-loader/lib/loader.js!./src/styles/styles.scss
Module not found: Error: Can't resolve './leaflet/dist/leaflet.css' in 'D:\Projects\UI\angular2-webpack-starter\src\styles'
can somebody help me, please?
when I add @import '/leaflet/dist/leaflet.css'; it compiles, but the css file is not loaded in runtime and not placed into dist folder.