Sha256: 6621d94759babc8b589593a68d671cc501bc2329748442875b4907f8387ae5e7
Contents?: true
Size: 463 Bytes
Versions: 8
Compression:
Stored size: 463 Bytes
Contents
# babel-plugin-runtime Externalise references to helpers and builtins, automatically polyfilling your code without polluting globals ## Installation ```sh $ npm install babel-plugin-runtime ``` ## Usage ### Via `.babelrc` (Recommended) **.babelrc** ```json { "plugins": ["runtime"] } ``` ### Via CLI ```sh $ babel --plugins runtime script.js ``` ### Via Node API ```javascript require("babel-core").transform("code", { plugins: ["runtime"] }); ```
Version data entries
8 entries across 8 versions & 3 rubygems