UNPKG

hel-tpl-remote-react-comps-ts

Version:

最简单的远程react组件模板(ts) codesandbox: https://codesandbox.io/s/demo-load-remote-react-comp-2bnpl0?file=/src/App.js

24 lines (18 loc) 853 B
(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('hel-lib-proxy')) : typeof define === 'function' && define.amd ? define(['exports', 'hel-lib-proxy'], factory) : (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["hel-tpl-remote-react-comps-ts"] = {}, global.helLibProxy)); })(this, (function (exports, helLibProxy) { 'use strict'; /* |-------------------------------------------------------------------------- | | 对应 package.json/name | |-------------------------------------------------------------------------- */ var LIB_NAME = 'hel-tpl-remote-react-comps-ts'; var lib = helLibProxy.exposeLib(LIB_NAME); exports["default"] = lib; exports.lib = lib; Object.defineProperty(exports, '__esModule', { value: true }); }));