Commit 03f0643e authored by Stanislav Fifik's avatar Stanislav Fifik
Browse files

allow css in js

parent d04c7f38
"use strict";
console.log(require.paths);
var source = require('vinyl-source-stream'),
buffer = require('vinyl-buffer'),
......@@ -184,6 +182,12 @@ module.exports = {
watch: argv.watch,
module: {
rules: [
{
test: /\.css$/,
use: {
loader: 'css-loader'
}
},
{
test: /\.jsx?$/,
exclude: /node_modules/,
......@@ -223,6 +227,7 @@ module.exports = {
]
},
plugins: [
new $webpack.ExtractTextPlugin("[name].css"),
new $webpack.FriendlyErrorsWebpackPlugin({
clearConsole: false,
}),
......
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