diff options
author | 2022-08-10 22:05:07 +0800 | |
---|---|---|
committer | 2022-08-10 22:05:07 +0800 | |
commit | dcc2480d9df651a58e78fe441bcf592d6ecf83d0 (patch) | |
tree | 1f823832c5eb3953c096531a7bec2c68a2f976d5 /packages/webapi/run/build.js | |
parent | 9703f6f8f30c72f03074a450965d46db49b4255a (diff) | |
download | astro-dcc2480d9df651a58e78fe441bcf592d6ecf83d0.tar.gz astro-dcc2480d9df651a58e78fe441bcf592d6ecf83d0.tar.zst astro-dcc2480d9df651a58e78fe441bcf592d6ecf83d0.zip |
Skip mod.d.ts in format:ci (#4235)
Diffstat (limited to 'packages/webapi/run/build.js')
-rw-r--r-- | packages/webapi/run/build.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/webapi/run/build.js b/packages/webapi/run/build.js index 754e7950a..d81f5e609 100644 --- a/packages/webapi/run/build.js +++ b/packages/webapi/run/build.js @@ -221,9 +221,10 @@ async function build() { writeFile( 'mod.d.ts', - modDTS - .replace('\n//# sourceMappingURL=polyfill.d.ts.map', '') - .replace('ponyfill.js', 'mod.js') + '// organize-imports-ignore\n' + + modDTS + .replace('\n//# sourceMappingURL=polyfill.d.ts.map', '') + .replace('ponyfill.js', 'mod.js') ) writeFile( 'apply.js', |