Skip to content

Commit a5a914b

Browse files
committed
build.js
1 parent 426e569 commit a5a914b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const templateRawDTS = fs.readFileSync('src/templateRaw.d.ts').toString()
5656

5757
fs.writeFileSync(templateRawFileDistPath, templateRawDTS.replace('/*={}*/', () => ` = ${JSON.stringify(raw, null, 2)}`))
5858

59-
execSync('tsc --ignoreConfig --noEmit _dist/templateRaw.ts', { stdio: 'inherit' });
59+
execSync(`tsc --ignoreConfig --noEmit "${templateRawFileDistPath}"`, { stdio: 'inherit' });
6060

6161
// bundle
6262

0 commit comments

Comments
 (0)