Skip to content
master
Switch branches/tags
babel/packages/babel-template/
babel/packages/babel-template/
This branch is 1166 commits behind main.
Contribute

Latest commit

* Allow templates to parse v8intrinsics

The `v8intrinsic` and `placeholders` parser plugins conflict, so enabling `placeholders` unconditionally was causing errors for V8's internal codemods. This allows them to set `syntacticPlaceholders = false` (so they'll use the legacy identifier format) and enable `v8intrinsic` by itself.

* Fix linter

* Linter
3fba971

Git stats

Files

Permalink
Failed to load latest commit information.

@babel/template

Generate an AST from a string template.

See our website @babel/template for more information or the issues associated with this package.

Install

Using npm:

npm install --save-dev @babel/template

or using yarn:

yarn add @babel/template --dev