soapbox/webpack/rules/mark.js

9 wiersze
151 B
JavaScript
Czysty Zwykły widok Historia

2020-03-27 20:59:38 +00:00
if (process.env.NODE_ENV === 'production') {
module.exports = {};
} else {
module.exports = {
test: /\.js$/,
loader: 'mark-loader',
};
}