17 lines
664 B
JavaScript
17 lines
664 B
JavaScript
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
*/
|
|
|
|
import * as modDev from './LexicalMark.dev.mjs';
|
|
import * as modProd from './LexicalMark.prod.mjs';
|
|
const mod = process.env.NODE_ENV !== 'production' ? modDev : modProd;
|
|
export const $createMarkNode = mod.$createMarkNode;
|
|
export const $getMarkIDs = mod.$getMarkIDs;
|
|
export const $isMarkNode = mod.$isMarkNode;
|
|
export const $unwrapMarkNode = mod.$unwrapMarkNode;
|
|
export const $wrapSelectionInMarkNode = mod.$wrapSelectionInMarkNode;
|
|
export const MarkNode = mod.MarkNode; |