Created
February 22, 2019 22:47
-
-
Save piotrekwitkowski/2a4fb6f64fb67408fa12961fcdd6a489 to your computer and use it in GitHub Desktop.
Użycie Sass/CSS w customElmentach przy użyciu lit-element i webpacka (2)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module: { | |
rules: [ | |
{ | |
test: /\.scss$/, | |
use: [ | |
'css-loader', | |
{ | |
loader: 'sass-loader', | |
options: { includePaths: ['./node_modules'] } //prawdopodobnie potrzebujesz tego, jeśli korzystasz z dalszych bibliotek, jak np. Material Design | |
} | |
] | |
}, | |
] | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment