File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 8888 "@faceless-ui/window-info" : " ^2.0.2" ,
8989 "@monaco-editor/react" : " ^4.4.6" ,
9090 "@swc/core" : " ^1.3.24" ,
91+ "@swc/register" : " ^0.1.10" ,
9192 "body-parser" : " ^1.19.0" ,
9293 "bson-objectid" : " ^2.0.1" ,
9394 "compression" : " ^1.7.4" ,
194195 "@playwright/test" : " ^1.29.2" ,
195196 "@release-it/conventional-changelog" : " ^5.1.1" ,
196197 "@swc/jest" : " ^0.2.24" ,
197- "@swc/register" : " ^0.1.10" ,
198198 "@testing-library/jest-dom" : " ^5.11.4" ,
199199 "@testing-library/react" : " ^13.0.1" ,
200200 "@trbl/eslint-config" : " ^1.2.4" ,
Original file line number Diff line number Diff line change 11/* eslint-disable @typescript-eslint/no-var-requires */
22import minimist from 'minimist' ;
3+ import swcRegister from '@swc/register' ;
34import { generateTypes } from './generateTypes' ;
45import { generateGraphQLSchema } from './generateGraphQLSchema' ;
56
7+ swcRegister ( {
8+ sourceMaps : 'inline' ,
9+ jsc : {
10+ parser : {
11+ syntax : 'typescript' ,
12+ tsx : true ,
13+ } ,
14+ } ,
15+ module : {
16+ type : 'commonjs' ,
17+ } ,
18+ } ) ;
19+
620const { build } = require ( './build' ) ;
721
822const args = minimist ( process . argv . slice ( 2 ) ) ;
You can’t perform that action at this time.
0 commit comments