File tree Expand file tree Collapse file tree 3 files changed +9
-15
lines changed
build/webpack/plugins/terser-webpack-plugin/src Expand file tree Collapse file tree 3 files changed +9
-15
lines changed Original file line number Diff line number Diff line change @@ -8,19 +8,14 @@ import { SourceMapConsumer } from 'source-map';
88import { SourceMapSource , RawSource , ConcatSource } from 'webpack-sources' ;
99import RequestShortener from 'webpack/lib/RequestShortener' ;
1010import ModuleFilenameHelpers from 'webpack/lib/ModuleFilenameHelpers' ;
11- // import validateOptions from 'schema-utils';
1211import serialize from 'serialize-javascript' ;
1312import terserPackageJson from 'terser/package.json' ;
14-
15- import schema from './options.json' ;
1613import TaskRunner from './TaskRunner' ;
1714
1815const warningRegex = / \[ .+ : ( [ 0 - 9 ] + ) , ( [ 0 - 9 ] + ) \] / ;
1916
2017class TerserPlugin {
2118 constructor ( options = { } ) {
22- // validateOptions(schema, options, 'Terser Plugin');
23-
2419 const {
2520 minify,
2621 terserOptions = { } ,
Original file line number Diff line number Diff line change 7979 "react-is" : " 16.6.3" ,
8080 "recursive-copy" : " 2.0.6" ,
8181 "resolve" : " 1.5.0" ,
82- "schema-utils" : " 1.0.0" ,
8382 "serialize-javascript" : " 1.4.0" ,
8483 "source-map" : " 0.6.1" ,
8584 "strip-ansi" : " 3.0.1" ,
Original file line number Diff line number Diff line change @@ -10671,15 +10671,6 @@ scheduler@^0.13.0:
1067110671 loose-envify "^1.1.0"
1067210672 object-assign "^4.1.1"
1067310673
10674- schema-utils@1.0.0, schema-utils@^1.0.0:
10675- version "1.0.0"
10676- resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770"
10677- integrity sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==
10678- dependencies:
10679- ajv "^6.1.0"
10680- ajv-errors "^1.0.0"
10681- ajv-keywords "^3.1.0"
10682-
1068310674schema-utils@^0.4.4:
1068410675 version "0.4.7"
1068510676 resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.4.7.tgz#ba74f597d2be2ea880131746ee17d0a093c68187"
@@ -10688,6 +10679,15 @@ schema-utils@^0.4.4:
1068810679 ajv "^6.1.0"
1068910680 ajv-keywords "^3.1.0"
1069010681
10682+ schema-utils@^1.0.0:
10683+ version "1.0.0"
10684+ resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-1.0.0.tgz#0b79a93204d7b600d4b2850d1f66c2a34951c770"
10685+ integrity sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==
10686+ dependencies:
10687+ ajv "^6.1.0"
10688+ ajv-errors "^1.0.0"
10689+ ajv-keywords "^3.1.0"
10690+
1069110691scss-tokenizer@^0.2.3:
1069210692 version "0.2.3"
1069310693 resolved "https://registry.yarnpkg.com/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz#8eb06db9a9723333824d3f5530641149847ce5d1"
You can’t perform that action at this time.
0 commit comments