npm babel-plugin-webpack-alias 1.6.0

latest releases: 2.1.2, 2.1.1, 2.1.0...
6 years ago

We now support environment variables in config paths:

{
   "presets":[ "react", "es2015", "stage-0" ],
   "env": {
    "test": {
      "plugins": [
        [ "babel-plugin-webpack-alias", {
            "config": "${PWD}/webpack.config.test.js"
          }
        ]
      ]
    }
  }
}

And run with:

$ PWD=$(pwd) NODE_ENV=test ava

Don't miss a new babel-plugin-webpack-alias release

NewReleases is sending notifications on new releases.