Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 240d12f

Browse files
committed
Make Babel plugin optional
The @babel/plugin-proposal-numeric-separator plugin is not needed for the starter itself. Removed it completely.
1 parent 92db0c7 commit 240d12f

File tree

4 files changed

+1
-24
lines changed

4 files changed

+1
-24
lines changed

.babelrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"presets": ["@babel/env", "@babel/typescript"],
33
"plugins": [
4-
"@babel/plugin-proposal-numeric-separator",
54
"@babel/proposal-class-properties",
65
"@babel/proposal-object-rest-spread"
76
]

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ npm run type-check:watch
3535
Either run the following:
3636

3737
```sh
38-
npm install --save-dev typescript @babel/core @babel/cli @babel/plugin-proposal-class-properties @babel/plugin-proposal-object-rest-spread @babel/preset-env @babel/preset-typescript @babel/plugin-proposal-numeric-separator
38+
npm install --save-dev typescript @babel/core @babel/cli @babel/plugin-proposal-class-properties @babel/plugin-proposal-object-rest-spread @babel/preset-env @babel/preset-typescript
3939
```
4040

4141
or make sure that you add the appropriate `"devDependencies"` entries to your `package.json` and run `npm install`:
@@ -45,7 +45,6 @@ or make sure that you add the appropriate `"devDependencies"` entries to your `p
4545
"@babel/cli": "^7.5.5",
4646
"@babel/core": "^7.5.5",
4747
"@babel/plugin-proposal-class-properties": "^7.5.5",
48-
"@babel/plugin-proposal-numeric-separator": "^7.2.0",
4948
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
5049
"@babel/preset-env": "^7.5.5",
5150
"@babel/preset-typescript": "^7.3.3",
@@ -75,7 +74,6 @@ Then copy the `.babelrc` in this repo, or the below:
7574
"@babel/typescript"
7675
],
7776
"plugins": [
78-
"@babel/plugin-proposal-numeric-separator",
7977
"@babel/proposal-class-properties",
8078
"@babel/proposal-object-rest-spread"
8179
]

package-lock.json

Lines changed: 0 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
"@babel/cli": "^7.5.5",
1414
"@babel/core": "^7.5.5",
1515
"@babel/plugin-proposal-class-properties": "^7.5.5",
16-
"@babel/plugin-proposal-numeric-separator": "^7.2.0",
1716
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
1817
"@babel/preset-env": "^7.5.5",
1918
"@babel/preset-typescript": "^7.3.3",

0 commit comments

Comments
 (0)