Skip to content

Commit

Permalink
Revert "Move ES module build to es/ (#3295)"
Browse files Browse the repository at this point in the history
This reverts commit d4f8d3c.
  • Loading branch information
taion committed Apr 16, 2016
1 parent 4c6a834 commit ddc87ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
es
es6
lib
umd
examples/**/*-bundle.js
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
"files": [
"*.md",
"docs",
"es",
"es6",
"lib",
"umd"
],
"main": "lib/index",
"jsnext:main": "es/index",
"jsnext:main": "es6/index",
"repository": "reactjs/react-router",
"homepage": "https://github.com/reactjs/react-router#readme",
"bugs": "https://github.com/reactjs/react-router/issues",
"scripts": {
"build": "npm run build-cjs && npm run build-es",
"build": "npm run build-cjs && npm run build-es6",
"build-cjs": "rimraf lib && babel ./modules -d lib --ignore '__tests__'",
"build-es": "rimraf es && babel ./modules -d es --blacklist=es6.modules --ignore '__tests__'",
"build-es6": "rimraf es6 && babel ./modules -d es6 --blacklist=es6.modules --ignore '__tests__'",
"build-umd": "NODE_ENV=development webpack modules/index.js umd/ReactRouter.js",
"build-min": "NODE_ENV=production webpack -p modules/index.js umd/ReactRouter.min.js",
"lint": "eslint modules examples",
Expand Down

0 comments on commit ddc87ba

Please sign in to comment.