闭社主体 forked from https://github.com/tootsuite/mastodon
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
441 B

  1. const path = require('path');
  2. module.exports = {
  3. module: {
  4. rules: [
  5. {
  6. test: /\.(jpg|jpeg|png|gif|svg|eot|ttf|woff|woff2)$/i,
  7. loader: 'url-loader',
  8. },
  9. {
  10. test: /.scss$/,
  11. loaders: ['style-loader', 'css-loader', 'postcss-loader', 'sass-loader'],
  12. },
  13. ],
  14. },
  15. resolve: {
  16. alias: {
  17. mastodon: path.resolve(__dirname, '..', 'app', 'javascript', 'mastodon'),
  18. },
  19. },
  20. };