Skip to content

Commit

Permalink
remove inlined babel env plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusandra committed Dec 26, 2016
1 parent 17cc068 commit 3185ed6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"presets": ["es2015", "stage-0"],
"plugins": [
"inferno",
"./utils/babel-env-inline"
"transform-babel-env-inline"
]
},
"react": {
"presets": ["es2015", "stage-0", "react"],
"plugins": [
"./utils/babel-env-inline"
"transform-babel-env-inline"
],
}
}
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"start:react": "BABEL_ENV=react ./node_modules/.bin/webpack-dev-server --history-api-fallback --hot --host 0.0.0.0 --port 4040 --display-modules",
"start:inferno": "BABEL_ENV=inferno ./node_modules/.bin/webpack-dev-server --history-api-fallback --hot --host 0.0.0.0 --port 4040 --display-modules",
"build": "npm run build:demo && npm run build:lib",
"build:demo": "npm run build:demo:react",
"build:demo": "npm run build:demo:react && npm run build:demo:inferno",
"build:demo:react": "BABEL_ENV=react node build.js production",
"build:demo:inferno": "BABEL_ENV=inferno node build.js production",
"build:lib": "npm run build:lib:react && npm run build:lib:inferno",
Expand All @@ -38,6 +38,7 @@
"babel-plugin-inferno": "beta17",
"babel-plugin-minify-dead-code-elimination": "^0.1.1",
"babel-plugin-react-transform": "2.0.2",
"babel-plugin-transform-babel-env-inline": "^0.0.1",
"babel-preset-es2015": "6.18.0",
"babel-preset-react": "6.16.0",
"babel-preset-stage-0": "6.16.0",
Expand Down
23 changes: 0 additions & 23 deletions utils/babel-env-inline.js

This file was deleted.

4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,10 @@ babel-plugin-transform-async-to-generator@^6.16.0:
babel-plugin-syntax-async-functions "^6.8.0"
babel-runtime "^6.0.0"

babel-plugin-transform-babel-env-inline@^0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-babel-env-inline/-/babel-plugin-transform-babel-env-inline-0.0.1.tgz#ed78caff3996e4055b6ad7fac053210dbb43b4c0"

babel-plugin-transform-class-constructor-call@^6.3.13:
version "6.18.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-constructor-call/-/babel-plugin-transform-class-constructor-call-6.18.0.tgz#80855e38a1ab47b8c6c647f8ea1bcd2c00ca3aae"
Expand Down

0 comments on commit 3185ed6

Please sign in to comment.