mirror of
https://github.com/expo/apollo-codegen.git
synced 2026-11-15 03:28:06 -10:00
8 lines
198 B
JavaScript
8 lines
198 B
JavaScript
const tsc = require('typescript');
|
|
const tsConfig = require('../tsconfig.json');
|
|
|
|
module.exports = {
|
|
process(src, path) {
|
|
return tsc.transpile(src, tsConfig.compilerOptions, path, []);
|
|
},
|
|
}; |