@babel/plugin-proposal-export-default-from
Example
export v from "mod";
Installation
npm install --save-dev @babel/plugin-proposal-export-default-from
Usage
With a configuration file (Recommended)
{
"plugins": ["@babel/plugin-proposal-export-default-from"]
}
Via CLI
babel --plugins @babel/plugin-proposal-export-default-from script.js
Via Node API
require("@babel/core").transformSync("code", {
plugins: ["@babel/plugin-proposal-export-default-from"],
});