rahulrsingh09-stenciltest2
Version:
Stencil Component Starter
20 lines (16 loc) • 716 B
JavaScript
;
const index = require('./index-4810b3ec.js');
/*
Stencil Client Patch Browser v2.0.3 | MIT Licensed | https://stenciljs.com
*/
const patchBrowser = () => {
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('test.cjs.js', document.baseURI).href));
const opts = {};
if ( importMeta !== '') {
opts.resourcesUrl = new URL('.', importMeta).href;
}
return index.promiseResolve(opts);
};
patchBrowser().then(options => {
return index.bootstrapLazy([["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]]], options);
});