v1.0.0-alpha (#88)

Currently using this library requires nightly rustc toolchian
This commit is contained in:
강동윤 2018-12-22 14:08:18 +09:00 committed by GitHub
parent 6a0a2cf34e
commit fb77e996bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 6 deletions

View File

@ -15,11 +15,11 @@ swc is rust port of [babel][] and [closure compiler][].
Currently this requires nightly version of [rust][].
```sh
npm i -SD @swc-project/swc
npm i -SD swc
```
or
```sh
yarn add --dev @swc-project/swc
yarn add --dev swc
```
# Features

5
ffi/.cargo/config Normal file
View File

@ -0,0 +1,5 @@
[build]
rustflags = [
"--cfg", "procmacro2_semver_exempt",
]

View File

@ -21,7 +21,7 @@ serde_derive = "1"
neon = "0.2.0"
neon-serde = "0.1.1"
sourcemap = "2"
swc = { path = "../../" }
swc = { git = "https://github.com/swc-project/swc.git" }
[profile.bench]
lto = true

View File

@ -1,7 +1,7 @@
{
"name": "ffi",
"version": "0.1.0",
"description": "",
"name": "swc",
"version": "1.0.0-alpha.2",
"description": "Super-fast alternative for babel",
"main": "lib/index.js",
"author": "강동윤 <kdy1@outlook.kr>",
"license": "MIT",