This repository has been archived on 2024-06-09. You can view files and clone it, but cannot push or open issues/pull-requests.
2016-12-14 18:21:31 +01:00
|
|
|
const path = require('path');
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
module: {
|
2017-06-04 16:26:07 +02:00
|
|
|
rules: [
|
2017-05-13 15:55:56 +02:00
|
|
|
{
|
|
|
|
test: /\.(jpg|jpeg|png|gif|svg|eot|ttf|woff|woff2)$/i,
|
2017-05-20 17:31:47 +02:00
|
|
|
loader: 'url-loader',
|
2017-05-13 15:55:56 +02:00
|
|
|
},
|
2016-12-14 18:21:31 +01:00
|
|
|
{
|
|
|
|
test: /.scss$/,
|
2017-06-06 04:07:34 +02:00
|
|
|
loaders: ['style-loader', 'css-loader', 'postcss-loader', 'sass-loader'],
|
2017-05-20 17:31:47 +02:00
|
|
|
},
|
|
|
|
],
|
2017-05-13 15:55:56 +02:00
|
|
|
},
|
|
|
|
resolve: {
|
2017-06-04 16:26:07 +02:00
|
|
|
alias: {
|
|
|
|
mastodon: path.resolve(__dirname, '..', 'app', 'javascript', 'mastodon'),
|
|
|
|
},
|
2017-05-20 17:31:47 +02:00
|
|
|
},
|
2017-05-13 15:55:56 +02:00
|
|
|
};
|