mirror of
https://github.com/swc-project/swc.git
synced 2024-09-19 20:57:35 +03:00
v1.0.0-alpha (#88)
Currently using this library requires nightly rustc toolchian
This commit is contained in:
parent
6a0a2cf34e
commit
fb77e996bd
@ -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
5
ffi/.cargo/config
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
[build]
|
||||
rustflags = [
|
||||
"--cfg", "procmacro2_semver_exempt",
|
||||
]
|
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user