NASA: Pluto Matters!

    babel-plugin-transform-object-literals

    0.2.0 • Public • Published

    Babel Plugin Transform Object Literals

    🚀 Perf tip: if your web app ships large JSON-like configuration as JavaScript object literals, consider using JSON.parse instead. It’s much faster, especially for cold loads! https://twitter.com/mathias/status/1143551692732030979?s=20

    Install

    npm install --save-dev babel-plugin-transform-object-literals
    {
      "plugins": ["transform-object-literals"]
    }

    Try

    cd examples
    npm install
    npm run build
    node ./output.js
    

    Install

    npm i babel-plugin-transform-object-literals

    DownloadsWeekly Downloads

    2

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    4.33 kB

    Total Files

    8

    Last publish

    Collaborators

    • uetchy