blakeblackshear.frigate/docs/plugins/raw-loader.js

13 lines
254 B
JavaScript
Raw Normal View History

module.exports = function (context, options) {
return {
name: 'labelmap',
configureWebpack(config, isServer, utils) {
return {
module: {
rules: [{ test: /\.txt$/, use: 'raw-loader' }],
},
};
},
};
};