Skip to content

Commit 0bc8b1d

Browse files
committed
minor #1368 Remove warning for usage of configureLoaderRule (Tofandel)
This PR was merged into the main branch. Discussion ---------- Remove warning for usage of configureLoaderRule | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no <!-- please update CHANGELOG.md file --> | Deprecations? | no <!-- please update CHANGELOG.md file --> | Issues | Fix #886 <!-- prefix each issue number with "Fix #", no need to create an issue if none exists, explain below instead --> | License | MIT <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - Features and deprecations must be submitted against the latest branch. - For new features, provide some code snippets to help understand usage. - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility. --> Commits ------- 48bafc4 Remove warning for usage of configureLoaderRule
2 parents 150777e + 48bafc4 commit 0bc8b1d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: lib/WebpackConfig.js

-2
Original file line numberDiff line numberDiff line change
@@ -1033,8 +1033,6 @@ class WebpackConfig {
10331033
* @param {OptionsCallback<webpack.RuleSetRule>} callback
10341034
*/
10351035
configureLoaderRule(name, callback) {
1036-
logger.warning('Be careful when using Encore.configureLoaderRule(), this is a low-level method that can potentially break Encore and Webpack when not used carefully.');
1037-
10381036
// Key: alias, Value: existing loader in `this.loaderConfigurationCallbacks`
10391037
const aliases = {
10401038
js: 'javascript',

0 commit comments

Comments
 (0)