mirror of
https://github.com/pre-commit/action.git
synced 2026-05-13 17:33:34 +00:00
set mode: production to silence webpack warning
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
target: 'node',
|
||||
entry: './index.js',
|
||||
output: {
|
||||
filename: 'index.js',
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
},
|
||||
target: 'node',
|
||||
entry: './index.js',
|
||||
mode: 'production',
|
||||
output: {
|
||||
filename: 'index.js',
|
||||
path: path.resolve(__dirname, 'dist'),
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user