-
Notifications
You must be signed in to change notification settings - Fork 439
Expand file tree
/
Copy pathindex.ts
More file actions
43 lines (40 loc) · 1.46 KB
/
index.ts
File metadata and controls
43 lines (40 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* Copyright (c) 2018, salesforce.com, inc.
* All rights reserved.
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
// Globals -----------------------------------------------------------------------------------------
import '@lwc/features';
// Polyfills ---------------------------------------------------------------------------------------
import './polyfills';
// Engine-core public APIs -------------------------------------------------------------------------
export {
api,
track,
wire,
readonly,
unwrap,
setFeatureFlag,
setFeatureFlagForTest,
registerTemplate,
freezeTemplate,
registerComponent,
registerDecorators,
sanitizeAttribute,
setHooks,
getComponentDef,
isComponentConstructor,
parseFragment,
parseFragment as parseSVGFragment,
setTrustedContextSet,
addTrustedContext as __dangerous_do_not_use_addTrustedContext,
setContextKeys,
} from '@lwc/engine-core';
// Engine-server public APIs -----------------------------------------------------------------------
export { renderComponent } from './apis/render-component';
export { LightningElement } from './apis/lightning-element';
export { renderer } from './renderer';
export { createElement } from './apis/create-element';
export { createContextProvider } from './context';
export { hot, swapComponent, swapStyle, swapTemplate } from './apis/hot-swaps';