mirror of
https://github.com/facebook/lexical.git
synced 2025-08-06 16:39:33 +08:00
Optimize outline-react bundles (#214)
* Optimize outline-react bundles * Format file
This commit is contained in:

committed by
acywatson

parent
b7369309d7
commit
0174151fee
@ -192,11 +192,13 @@ build(
|
||||
);
|
||||
|
||||
outlineReactModules.forEach((outlineReactModule) => {
|
||||
// We don't want to sync these modules
|
||||
// We don't want to sync these modules, as they're bundled in the other
|
||||
// modules already.
|
||||
if (
|
||||
isWWW &&
|
||||
(outlineReactModule === 'OutlineEnv' ||
|
||||
outlineReactModule === 'OutlineReactUtils')
|
||||
outlineReactModule === 'OutlineEnv' ||
|
||||
outlineReactModule === 'useOutlineHistory' ||
|
||||
outlineReactModule === 'useOutlineDragonSupport' ||
|
||||
outlineReactModule === 'OutlineReactUtils'
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user