ozimos/LMS_Music

View on GitHub
.babelrc

Summary

Maintainability
Test Coverage
{
    "presets": [
        "@babel/preset-react", 
        ["@babel/preset-env", {
      "targets": {
                "browsers": [
                    ">1%",
                    "not ie 11",
                    "not op_mini all"
                ]
            },
            "useBuiltIns": "entry",
            "corejs": { "version": 3, "proposals": true }
    }]
    ],

    "plugins": [
        "@babel/plugin-proposal-object-rest-spread",
        "@babel/plugin-syntax-dynamic-import",
        ["react-css-modules", {
          "filetypes": {
            ".scss": {
              "syntax": "postcss-scss",
              "plugins": ["postcss-nested"]
            }
          },
          "generateScopedName": "[local]_[hash:base64:5]"
        }],
        "react-hot-loader/babel"
    ]
}