1.0.1 • Published 4 years ago
@pitlet/transform-ts-with-babel v1.0.1
pitlet-transform-ts-with-babel
Install
npm i -D @pitlet/transform-ts-with-babel
Usage
// pitlet.config.js
const { transformJsModule } = require('@pitlet/transform-js-module')
const { transformTsWithBabel } = require('@pitlet/transform-ts-with-babel')
const transformFunctionMap = {
js: [transformJsModule],
ts: [transformTsWithBabel, transformJsModule],
}