Skip to content

Commit c84457e

Browse files
authored
Merge pull request #120 from ReactMaker/renovate/babel-loader-8.x
Update dependency babel-loader to v8
2 parents 67e3596 + 1b0d5c5 commit c84457e

File tree

5 files changed

+3048
-9502
lines changed

5 files changed

+3048
-9502
lines changed

.babelrc

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
{
22
"presets": [
3-
"env",
4-
"react",
5-
"stage-0"
3+
"@babel/preset-env",
4+
"@babel/preset-react"
65
],
76
"plugins": [
8-
"transform-runtime",
9-
"transform-decorators-legacy",
10-
"transform-class-properties",
11-
"transform-object-rest-spread",
7+
"@babel/plugin-proposal-function-bind",
8+
"@babel/plugin-proposal-export-default-from",
9+
"@babel/plugin-proposal-logical-assignment-operators",
10+
["@babel/plugin-proposal-optional-chaining", { "loose": false }],
11+
["@babel/plugin-proposal-pipeline-operator", { "proposal": "minimal" }],
12+
["@babel/plugin-proposal-nullish-coalescing-operator", { "loose": false }],
13+
"@babel/plugin-proposal-do-expressions",
14+
["@babel/plugin-proposal-decorators", { "legacy": true }],
15+
"@babel/plugin-proposal-function-sent",
16+
"@babel/plugin-proposal-export-namespace-from",
17+
"@babel/plugin-proposal-numeric-separator",
18+
"@babel/plugin-proposal-throw-expressions",
19+
"@babel/plugin-syntax-dynamic-import",
20+
"@babel/plugin-syntax-import-meta",
21+
["@babel/plugin-proposal-class-properties", { "loose": true }],
22+
"@babel/plugin-proposal-json-strings",
1223
"react-hot-loader/babel"
1324
]
1425
}

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
[![david-dm](https://david-dm.org/reactmaker/simple_react_startkit.svg)](https://david-dm.org/)
44
[![Known Vulnerabilities](https://snyk.io/test/github/ReactMaker/simple_react_startkit/badge.svg?targetFile=package.json)](https://snyk.io/test/github/ReactMaker/simple_react_startkit?targetFile=package.json)
55

6-
# Simple React Start Kit 2017
6+
# Simple React Start Kit 2.0
77

88
這個環境包可以讓你快速體驗 ReactJS 開發環境的便利,我們並沒有在裏面放入額外的套件(例如 redux, karma),希望可以讓你用最簡單的環境開始學習 React
99

1010
## 特色
1111

12-
* [react 16.3.1](https://github.com/facebook/react)
12+
* [react 16.4.2](https://github.com/facebook/react)
1313
* [webpack 4](https://github.com/webpack/webpack)
14-
* [babel 6](https://github.com/babel/babel)
14+
* [babel 7](https://github.com/babel/babel)
1515
* [eslint](http://eslint.org)
1616

1717
## 需求配置

0 commit comments

Comments
 (0)