Skip to content

Commit

Permalink
Merge pull request #2 from azu/patch-1
Browse files Browse the repository at this point in the history
fix CJS usage in README
  • Loading branch information
WebReflection committed Jan 30, 2019
2 parents cd7cc4a + 75ebd2b commit 9b7786b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ A feature detected fix for non unique [template literals](https://developer.mozi

* CDN as global utility via https://unpkg.com/@ungap/template-literal
* ESM via `import templateLiteral from '@ungap/template-literal'`
* CJS via `const Map = templateLiteral('@ungap/template-literal')`
* CJS via `const templateLiteral = require('@ungap/template-literal')`

[Live test](https://ungap.github.io/template-literal/test/)

0 comments on commit 9b7786b

Please sign in to comment.