Commit ba33f0a0 authored by Andreas Knote's avatar Andreas Knote

node/webpack: reduce node dependencies left from disfunct features

parent 495153d9
This diff is collapsed.
// ////////////////////////////////////////////////////////////////////////////
// Run webpack
// ////////////////////////////////////////////////////////////////////////////
const path = require("path");
const ExtractTextPlugin = require("mini-css-extract-plugin");
module.exports = {
context: __dirname,
......@@ -22,31 +18,13 @@ module.exports = {
}
}
},
{
test: /\.scss$/,
use: [{
loader: ExtractTextPlugin.loader,
},
"css-loader",
"sass-loader"
]
},
{
test: /\.(woff|woff2|eot|ttf)$/,
loader: 'url-loader?limit=100000'
},
{
test: /\.(svg|gif)$/,
loader: "file-loader"
}
]
},
plugins: [
new ExtractTextPlugin({
filename: 'style.css'
}),
],
node: {
fs: "empty"
}
};
\ 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