Skip to content

Commit 2e53737

Browse files
committed
Clear errors for removed methods
1 parent ce51d27 commit 2e53737

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,17 @@ class Encore {
963963
runtimeConfig = null;
964964
webpackConfig = null;
965965
}
966+
967+
/*
968+
* Removed Public Methods
969+
*/
970+
configureExtractTextPlugin() {
971+
throw new Error('The configureExtractTextPlugin() method was removed from Encore. The underlying plugin was removed from Webpack 4.');
972+
}
973+
974+
enableCoffeeScriptLoader() {
975+
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!');
976+
}
966977
}
967978

968979
// Proxy the API in order to prevent calls to most of its methods

0 commit comments

Comments
 (0)