You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
filepizza/webpack.config.js

37 lines
513 B
JavaScript

const nib = require("nib");
module.exports = {
entry: "./lib/client",
target: "web",
output: {
filename: "dist/bundle.js"
},
module: {
loaders: [
{
test: /\.js$/,
exclude: /node_modules/,
loader: "babel-loader"
},
{
test: /\.json$/,
loader: "json"
},
{
test: /\.styl$/,
loader: "style-loader!css-loader!stylus-loader"
}
]
},
node: {
fs: "empty"
},
stylus: {
use: [nib()]
}
};