0.1.4 • Published 10 months ago
@langri-sha/projen-swcrc v0.1.4
@langri-sha/projen-swcrc
A projen component for configuring.
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()