Commit 09886295 authored by Stanislav Fifik's avatar Stanislav Fifik

sass support

parent e81b5df1
......@@ -99,7 +99,6 @@ module.exports = {
watch: argv.watch,
module: {
loaders: [
// Extract css files
{
test: /\.css$/,
loader: $webpack.ExtractTextPlugin.extract({ fallback: 'style-loader', use: 'css-loader' })
......@@ -111,8 +110,6 @@ module.exports = {
use: 'css-loader!sass-loader'
})
},
// Optionally extract less files
// or any other compile-to-css language
{
test: /\.less$/,
loader: $webpack.ExtractTextPlugin.extract({
......@@ -132,7 +129,6 @@ module.exports = {
test: /\.(ttf|eot|svg)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
loader: "file-loader"
},
// You could also use other loaders the same way. I. e. the autoprefixer-loader
]
},
plugins: [
......@@ -165,7 +161,7 @@ module.exports = {
'.json',
'.tsx',
'.ts',
'jsx'
'.jsx'
],
alias: {
'vue$': 'vue/dist/vue.esm.js',
......
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