Skip to content

Commit

Permalink
Move ES module build to es/ (#3295)
Browse files Browse the repository at this point in the history
This makes us consistent with Redux
  • Loading branch information
taion authored and timdorr committed Apr 13, 2016
1 parent 0c49ccc commit d4f8d3c
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 @@
es6
es
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",
"es6",
"es",
"lib",
"umd"
],
"main": "lib/index",
"jsnext:main": "es6/index",
"jsnext:main": "es/index",
"repository": "reactjs/react-router",
"homepage": "https://reactjs.org/react-router/",
"bugs": "https://github.com/reactjs/react-router/issues",
"scripts": {
"build": "npm run build-cjs && npm run build-es6",
"build": "npm run build-cjs && npm run build-es",
"build-cjs": "rimraf lib && babel ./modules -d lib --ignore '__tests__'",
"build-es6": "rimraf es6 && babel ./modules -d es6 --blacklist=es6.modules --ignore '__tests__'",
"build-es": "rimraf es && babel ./modules -d es --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 d4f8d3c

Please sign in to comment.