Glitch-Shrike/config/webpack/rules/mark.js

9 lines
151 B
JavaScript

if (process.env.NODE_ENV === 'production') {
module.exports = {};
} else {
module.exports = {
test: /\.js$/,
loader: 'mark-loader',
};
}