soapbox/webpack/rules/mark.js

9 wiersze
151 B
JavaScript

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