Commit e81b5df1 authored by Stanislav Fifik's avatar Stanislav Fifik

sass support

parent 75a33c92
......@@ -104,6 +104,13 @@ module.exports = {
test: /\.css$/,
loader: $webpack.ExtractTextPlugin.extract({ fallback: 'style-loader', use: 'css-loader' })
},
{
test: /\.scss$/,
loader: $webpack.ExtractTextPlugin.extract({
fallback: 'style-loader',
use: 'css-loader!sass-loader'
})
},
// Optionally extract less files
// or any other compile-to-css language
{
......
@import "variables";
//@import "sass-test.scss";
body {
background-color: @bg-color;
......
$color: blue;
body {
color: $color;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment