1
0
puyopuyotetr.is/storybook/webpack.config.js

22 lines
441 B
JavaScript
Raw Normal View History

const path = require('path');
module.exports = {
module: {
2017-06-04 23:26:07 +09:00
rules: [
2017-05-13 22:55:56 +09:00
{
test: /\.(jpg|jpeg|png|gif|svg|eot|ttf|woff|woff2)$/i,
loader: 'url-loader',
2017-05-13 22:55:56 +09:00
},
{
test: /.scss$/,
loaders: ["style-loader", "css-loader", "postcss-loader", "sass-loader"],
},
],
2017-05-13 22:55:56 +09:00
},
resolve: {
2017-06-04 23:26:07 +09:00
alias: {
mastodon: path.resolve(__dirname, '..', 'app', 'javascript', 'mastodon'),
},
},
2017-05-13 22:55:56 +09:00
};