1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
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'), }, }, };