Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Commit

Permalink
Remove --babelrc, cause Babel to use non-archetype config
Browse files Browse the repository at this point in the history
This removes `--babelrc` and will require boilerplates and other
projects using this archetype to add their own `.babelrc` if they
want non-default settings.

This PR does not remove the actual `.babelrc` file in this repo – it's
not hurting anything, can be used as a reference, and will most likely
be used again later when custom babelrc is more widely supported.

Reference: #4 (not yet fixed)

/cc @boygirl @ryan-roemer
  • Loading branch information
exogen committed Nov 4, 2015
1 parent c7e3419 commit 31c3f74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Tasks:
[builder-react-component] webpack --config node_modules/builder-react-component/config/webpack/webpack.config.js
build-lib
[builder-react-component] builder run clean-lib && babel --babelrc node_modules/builder-react-component/config/babel/.babelrc src -d lib
[builder-react-component] builder run clean-lib && babel src -d lib
check
[builder-react-component] builder run lint && builder run test
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"build-dist-dev": "webpack --config node_modules/builder-react-component/config/webpack/webpack.config.dev.js --colors",
"build-dist": "builder run clean-dist && builder run build-dist-min && builder run build-dist-dev",
"clean-lib": "rimraf lib",
"build-lib": "builder run clean-lib && babel --babelrc node_modules/builder-react-component/config/babel/.babelrc src -d lib",
"build-lib": "builder run clean-lib && babel src -d lib",
"clean": "builder run clean-lib && builder run clean-dist",
"build": "builder run build-lib && builder run build-dist",
"server-dev": "webpack-dev-server --port 3000 --config node_modules/builder-react-component/config/webpack/demo/webpack.config.dev.js --colors --content-base demo",
Expand Down

0 comments on commit 31c3f74

Please sign in to comment.