Skip to content

Commit c0ce012

Browse files
authored
Document upcoming release in installation section
1 parent 946fcbf commit c0ce012

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

readme.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,10 @@ The official recommendation for running `common-tags` is as follows:
132132
- In order to use `common-tags`, your environment will also need to support ES2015 tagged templates ([pssst… check Babel out](http://babeljs.io))
133133
- You might also want to [polyfill some features](https://github.com/zloirock/core-js) if you plan on supporting older browsers: `Array.prototype.includes`
134134

135-
It might work with below versions of Node, but this is not a guarantee.
135+
Use the upcoming release for more modern environments:
136+
137+
- [Node.js](https://nodejs.org/en/download/) v14.0.0 or higher
138+
- In order to use `common-tags`, your environment will need to support ECMAScript modules
136139

137140
### Instructions
138141

@@ -142,6 +145,11 @@ It might work with below versions of Node, but this is not a guarantee.
142145
npm install common-tags
143146
```
144147

148+
Or for the upcoming release:
149+
```sh
150+
npm install common-tags@next
151+
```
152+
145153
### With unpkg
146154

147155
`common-tags` is also available at [unpkg](https://unpkg.com/common-tags). Just put this code in your HTML:

0 commit comments

Comments
 (0)