UNPKG

web-social-share

Version:

A Web Component to share urls and text on social networks

20 lines (16 loc) 723 B
'use strict'; const index = require('./index-9a1244b4.js'); /* Stencil Client Patch Browser v2.6.0 | 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('websocialshare.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([["web-social-share.cjs",[[1,"web-social-share",{"show":[1028],"share":[16]}]]]], options); });