systematize icon indicating copy to clipboard operation
systematize copied to clipboard

Including .css files with @import is non-standard behaviour which will be removed in future versions of LibSass.

Open amery opened this issue 6 years ago • 1 comments

I had this problem with normalize.css but it also happens with systemize using webpack+sass-loader

@import "systematize";
DEPRECATION WARNING on line 1, column 8 of stdin:
Including .css files with @import is non-standard behaviour which will be removed in future versions of LibSass.
Use a custom importer to maintain this behaviour. Check your implementations documentation on how to create a custom importer.
  • node-sass: 4.9.2
  • sass-loader: 7.0.3
  • webpack 4.15.1

Any suggestion? I'm pretty new on this world.

amery avatar Jul 09 '18 00:07 amery

Hi, sorry, I didn't see this issue somehow.

With Webpack, you can use imports relative to the node_modules dir using the following syntax:

@import '~systematize/systematize'

The default file when you import systematize ('main' in package.json) is set to build/systematize.css, hence the warning.

mvasilkov avatar Jul 31 '18 14:07 mvasilkov