zspecza / common-tags

🔖 Useful template literal tags for dealing with strings in ES2015+
Other
1.99k stars 61 forks source link

Generate built files for CDN use #146

Closed erquhart closed 6 years ago

erquhart commented 6 years ago

Awesome project here! I had just finished reworking a bunch of examples for Netlify CMS using stripIndent when I realized there's no way to "just use it" via a CDN like unpkg.com. Have you considered providing built files?

fatfisz commented 6 years ago

It looks like an easy improvement without a lot of changes to the existing project. I'd get rid of babel-runtime at the same time to solve some complaints about big deps.

@declandewet Would Rollup work for you as a packaging tool?

fatfisz commented 6 years ago

@erquhart Could you take a look at the PR I added (#150)? Just want to make sure that everything that's needed is included there.

erquhart commented 6 years ago

Awesome, thanks for this @fatfisz!!