Skip to content

Commit 9d2043c

Browse files
committed
Marking methods as deprecated to help auto-completion
1 parent 55631cc commit 9d2043c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

index.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -986,13 +986,18 @@ class Encore {
986986
webpackConfig = null;
987987
}
988988

989-
/*
990-
* Removed Public Methods
989+
/**
990+
* @deprecated
991+
* @return {void}
991992
*/
992993
configureExtractTextPlugin() {
993994
throw new Error('The configureExtractTextPlugin() method was removed from Encore. The underlying plugin was removed from Webpack 4.');
994995
}
995996

997+
/**
998+
* @deprecated
999+
* @return {void}
1000+
*/
9961001
enableCoffeeScriptLoader() {
9971002
throw new Error('The enableCoffeeScriptLoader() method and CoffeeScript support was removed from Encore due to support problems with Webpack 4. If you are interested in this feature, please submit a pull request!');
9981003
}

0 commit comments

Comments
 (0)