mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-13 19:54:01 -05:00
22 lines
441 B
JavaScript
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'),
|
|
},
|
|
},
|
|
};
|