2016-12-14 19:21:31 +02:00
|
|
|
const path = require('path');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
module: {
|
2017-06-04 17:26:07 +03:00
|
|
|
rules: [
|
2017-05-13 16:55:56 +03:00
|
|
|
{
|
|
|
|
test: /\.(jpg|jpeg|png|gif|svg|eot|ttf|woff|woff2)$/i,
|
2017-05-20 18:31:47 +03:00
|
|
|
loader: 'url-loader',
|
2017-05-13 16:55:56 +03:00
|
|
|
},
|
2016-12-14 19:21:31 +02:00
|
|
|
{
|
|
|
|
test: /.scss$/,
|
2017-06-06 05:07:34 +03:00
|
|
|
loaders: ['style-loader', 'css-loader', 'postcss-loader', 'sass-loader'],
|
2017-05-20 18:31:47 +03:00
|
|
|
},
|
|
|
|
],
|
2017-05-13 16:55:56 +03:00
|
|
|
},
|
|
|
|
resolve: {
|
2017-06-04 17:26:07 +03:00
|
|
|
alias: {
|
|
|
|
mastodon: path.resolve(__dirname, '..', 'app', 'javascript', 'mastodon'),
|
|
|
|
},
|
2017-05-20 18:31:47 +03:00
|
|
|
},
|
2017-05-13 16:55:56 +03:00
|
|
|
};
|