@babel/plugin-syntax-export-extensions
v7.0.0-beta.32
Published
Allow parsing of export extensions
Downloads
8,122
Keywords
Readme
@babel/plugin-syntax-export-extensions
Allow parsing of export extensions.
Installation
npm install --save-dev @babel/plugin-syntax-export-extensions
Usage
Via .babelrc
(Recommended)
.babelrc
{
"plugins": ["@babel/syntax-export-extensions"]
}
Via CLI
babel --plugins @babel/syntax-export-extensions script.js
Via Node API
require("@babel/core").transform("code", {
plugins: ["@babel/syntax-export-extensions"]
});