1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-26 04:28:23 +09:00
whippy-edition/storybook/webpack.config.js
2017-05-13 15:55:56 +02:00

24 lines
530 B
JavaScript

const path = require('path');
module.exports = {
module: {
loaders: [
{
test: /\.(jpg|jpeg|png|gif|svg|eot|ttf|woff|woff2)$/i,
loader: 'url-loader'
},
{
test: /.scss$/,
loaders: ["style-loader", "css-loader", "postcss-loader", "sass-loader"]
}
]
},
resolve: {
modulesDirectories: [
path.resolve(__dirname, '..', 'storybook'),
path.resolve(__dirname, '..', 'app', 'javascript'),
path.resolve(__dirname, '..', 'node_modules')
]
}
};