Skip to content

Instantly share code, notes, and snippets.

@mihailik
mihailik / build.js
Last active Jun 1, 2020
TypeScript custom transformers with ts.createSolutionBuilderWithWatch
View build.js
// @ts-check
/// <reference types="node" />
var ts = require('typescript'); // little change
var tsconfig_json = JSON.stringify({
compilerOptions: {
outFile: __filename + '.out.js',
allowJs: true,
checkJs: true,
You can’t perform that action at this time.