mirror of
https://github.com/pre-commit/action.git
synced 2025-11-07 10:46:56 +00:00
set mode: production to silence webpack warning
This commit is contained in:
parent
23a27b703c
commit
771019abd6
1 changed files with 7 additions and 6 deletions
|
|
@ -3,6 +3,7 @@ const path = require('path');
|
||||||
module.exports = {
|
module.exports = {
|
||||||
target: 'node',
|
target: 'node',
|
||||||
entry: './index.js',
|
entry: './index.js',
|
||||||
|
mode: 'production',
|
||||||
output: {
|
output: {
|
||||||
filename: 'index.js',
|
filename: 'index.js',
|
||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, 'dist'),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue