-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test DEWP's
excludedExternals
using react
instead of lodash. Avoid warnings and prepare for dropping lodash completely. Addresses https://github.com/WordPress/gutenberg/pull/45948/files/e0d164967659fea61f769f876aa0c63010fbda62#r1262670308
- Loading branch information
Showing
3 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
13 changes: 9 additions & 4 deletions
13
packages/dependency-extraction-webpack-plugin/test/__snapshots__/build.js.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
packages/dependency-extraction-webpack-plugin/test/fixtures/bundled-packages/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
/** | ||
* External dependencies | ||
*/ | ||
import { isEmpty } from 'lodash'; | ||
import { ReactDOM } from 'react-dom'; | ||
|
||
/** | ||
* WordPress dependencies | ||
*/ | ||
import { isBlobURL } from '@wordpress/blob'; | ||
|
||
isEmpty( isBlobURL( '' ) ); | ||
isBlobURL( ReactDOM.version ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters