chuckya/config/webpack/loaders/mark.js

8 lines
151 B
JavaScript

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