logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

assets.js (307B)


  1. const { env, publicPath } = require('../configuration.js');
  2. module.exports = {
  3. test: /\.(jpg|jpeg|png|gif|svg|eot|ttf|woff|woff2)$/i,
  4. use: [{
  5. loader: 'file-loader',
  6. options: {
  7. publicPath,
  8. name: env.NODE_ENV === 'production' ? '[name]-[hash].[ext]' : '[name].[ext]',
  9. },
  10. }],
  11. };