donphan/config/webpack/rules/mark.js

9 lines
151 B
JavaScript
Raw Normal View History

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