Gab Social. All are welcome.
This commit is contained in:
8
config/webpack/rules/mark.js
Normal file
8
config/webpack/rules/mark.js
Normal file
@@ -0,0 +1,8 @@
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
module.exports = {};
|
||||
} else {
|
||||
module.exports = {
|
||||
test: /\.js$/,
|
||||
loader: 'mark-loader',
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user