Skip to content

Commit

Permalink
🆕 Add babel-plugin-macros to default template
Browse files Browse the repository at this point in the history
  • Loading branch information
Steel Brain committed Oct 3, 2018
1 parent 4fdf2f8 commit 185bc58
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions packages/create-pundle-babel-app/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@
"version": "0.1.0",
"private": true,
"devDependencies": {
"@pundle/cli": "3.0.0-beta11",
"@pundle/preset-default": "3.0.0-beta11",
"babel-core": "^6.26.3",
"babel-plugin-macros": "^2.4.2",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-1": "^6.24.1",
"@pundle/cli": "3.0.0-beta11",
"@pundle/preset-default": "3.0.0-beta11"
"babel-preset-stage-1": "^6.24.1"
},
"scripts": {
"start": "pundle --dev.singlepage --dev.static ./static::/",
"build": "NODE_ENV=production pundle"
},
"babel": {
"plugins": [],
"plugins": ["babel-plugin-macros"],
"presets": [
[
"env",
Expand Down
9 changes: 5 additions & 4 deletions packages/create-pundle-react-app/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,21 @@
"react-hot-loader": "^4.3.3"
},
"devDependencies": {
"@pundle/cli": "3.0.0-beta11",
"@pundle/preset-default": "3.0.0-beta11",
"babel-core": "^6.26.3",
"babel-plugin-macros": "^2.4.2",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"@pundle/cli": "3.0.0-beta11",
"@pundle/preset-default": "3.0.0-beta11"
"babel-preset-stage-1": "^6.24.1"
},
"scripts": {
"start": "pundle --dev.singlepage --dev.static ./static::/",
"build": "NODE_ENV=production pundle"
},
"babel": {
"plugins": [
"react-hot-loader/babel"
"babel-plugin-macros", "react-hot-loader/babel"
],
"presets": [
[
Expand Down

0 comments on commit 185bc58

Please sign in to comment.