@langri-sha/projen-swcrc
v0.1.4
Published
A [projen] component for [configuring] [SWC].
Downloads
1
Readme
@langri-sha/projen-swcrc
A projen component for configuring SWC.
Usage
npm install -D projen @langri-sha/projen-swcrc
Add the SWC configuration:
import { Project } from 'projen'
import { SWCConfiguration } from '@langri-sha/projen-swcrc'
const project = new Project({
name: 'test',
})
new SWCConfiguration(project, {
jsc: {
parser: {
syntax: 'ecmascript',
},
},
})
project.synth()