Skip to content

Commit

Permalink
build: run "patch-package" before webpack
Browse files Browse the repository at this point in the history
  • Loading branch information
rocka committed Apr 12, 2020
1 parent bd7b16e commit cf0b7ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion script/webpack.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
/* eslint-disable no-console */

'use strict';

// yeah! patch packages!
require('patch-package');

process.env.NODE_ENV = 'production';

const webpack = require('webpack');
Expand Down Expand Up @@ -66,7 +71,6 @@ async function dist(argv) {
}
}


if (argv[0] === 'clean') {
clean();
} else {
Expand Down

0 comments on commit cf0b7ae

Please sign in to comment.