1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-11 21:29:17 +09:00
YuruToot/storybook/webpack.config.js
2017-06-06 04:07:34 +02:00

22 lines
441 B
JavaScript

const path = require('path');
module.exports = {
module: {
rules: [
{
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: {
alias: {
mastodon: path.resolve(__dirname, '..', 'app', 'javascript', 'mastodon'),
},
},
};