File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ function getOrder(a, b) {
102
102
103
103
function ExtractTextPlugin ( options ) {
104
104
if ( arguments . length > 1 ) {
105
- throw new Error ( "Deprecation notice : ExtractTextPlugin now only takes a single argument. Either an options " +
105
+ throw new Error ( "Breaking change : ExtractTextPlugin now only takes a single argument. Either an options " +
106
106
"object *or* the name of the result file.\n" +
107
107
"Example: if your old code looked like this:\n" +
108
108
" new ExtractTextPlugin('css/[name].css', { disable: false, allChunks: true })\n\n" +
@@ -165,7 +165,7 @@ ExtractTextPlugin.prototype.loader = function(options) {
165
165
166
166
ExtractTextPlugin . prototype . extract = function ( options ) {
167
167
if ( arguments . length > 1 ) {
168
- throw new Error ( "Deprecation notice : extract now only takes a single argument. Either an options " +
168
+ throw new Error ( "Breaking change : extract now only takes a single argument. Either an options " +
169
169
"object *or* the loader(s).\n" +
170
170
"Example: if your old code looked like this:\n" +
171
171
" ExtractTextPlugin.extract('style-loader', 'css-loader')\n\n" +
You can’t perform that action at this time.
0 commit comments