bigbuffet-rw/webpack/rules/git-refresh.js

10 lines
239 B
JavaScript
Raw Normal View History

2021-03-30 13:40:58 -07:00
const { resolve } = require('path');
// Recompile code.js whenever git changes
module.exports = {
test: resolve(__dirname, '../../app/soapbox/utils/code.js'),
use: {
loader: resolve(__dirname, '../loaders/git-loader.js'),
},
};