We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd98b4e commit 1a4848eCopy full SHA for 1a4848e
1 file changed
buildTsPlugin.mjs
@@ -5,6 +5,9 @@ import { analyzeMetafile } from 'esbuild'
5
const result = await buildTsPlugin('typescript', undefined, undefined, {
6
minify: !process.argv.includes('--watch'),
7
metafile: true,
8
+ define: {
9
+ 'import.meta': 'null',
10
+ },
11
banner: {
12
js: 'let ts, tsFull;',
13
// js: 'const log = (...args) => console.log(...args.map(a => JSON.stringify(a)))',
0 commit comments