Built with our own fork of babel, whoo! (this fork is usable in external projects when building CSX-projects, it's class-properties proposal + decorators actually works...)
This commit is contained in:
@@ -9,7 +9,7 @@ A babel plugin to transform the JSX (e.g. ```<div>{this.helloWorld}</div>``` ) i
|
||||
### Installation
|
||||
|
||||
```
|
||||
npm install @cerxes/babel-plugin-transform-csx --save-dev --registry http://npm.cerxes.net
|
||||
npm install @cerxes/babel-plugin-transform-csx --save-dev --registry https://npm.cerxes.net
|
||||
```
|
||||
And in your .babelrc file:
|
||||
```
|
||||
|
||||
@@ -9,18 +9,18 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"esutils": "^2.0.3",
|
||||
"@babel/cli": "7.6.4",
|
||||
"@babel/plugin-proposal-class-properties": "latest",
|
||||
"@babel/plugin-proposal-decorators": "latest",
|
||||
"@babel/plugin-proposal-export-default-from": "latest",
|
||||
"@babel/plugin-proposal-export-namespace-from": "latest",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "latest",
|
||||
"@babel/plugin-proposal-optional-chaining": "latest",
|
||||
"@babel/plugin-proposal-private-methods": "latest",
|
||||
"@babel/preset-env": "latest",
|
||||
"@babel/helper-builder-react-jsx": "7.3.0",
|
||||
"@babel/helper-plugin-utils": "7.0.0",
|
||||
"@babel/plugin-syntax-jsx": "7.2.0",
|
||||
"@babel/cli": "csx",
|
||||
"@babel/plugin-proposal-class-properties": "csx",
|
||||
"@babel/plugin-proposal-decorators": "csx",
|
||||
"@babel/plugin-proposal-export-default-from": "csx",
|
||||
"@babel/plugin-proposal-export-namespace-from": "csx",
|
||||
"@babel/plugin-proposal-nullish-coalescing-operator": "csx",
|
||||
"@babel/plugin-proposal-optional-chaining": "csx",
|
||||
"@babel/plugin-proposal-private-methods": "csx",
|
||||
"@babel/preset-env": "csx",
|
||||
"@babel/helper-builder-react-jsx": "csx",
|
||||
"@babel/helper-plugin-utils": "csx",
|
||||
"@babel/plugin-syntax-jsx": "csx",
|
||||
"jsdoc": "latest",
|
||||
"rollup": "latest",
|
||||
"rollup-plugin-babel": "latest",
|
||||
@@ -31,7 +31,7 @@
|
||||
"npm-run-all": "latest"
|
||||
},
|
||||
"dependencies":{
|
||||
"@babel/core": "7.6.4"
|
||||
"@babel/core": "csx"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "rollup -c",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user