diff options
author | 2022-03-08 15:20:04 -0800 | |
---|---|---|
committer | 2022-03-08 15:20:04 -0800 | |
commit | 240d88aefe66c7d73b9c713c5da42ae789c011ce (patch) | |
tree | b57f527cf32477c54be9a323a2159adb2aaad138 /packages/webapi/run/build.js | |
parent | 0ae96bb7491a60eb2032bab23377ca54951a67a7 (diff) | |
download | astro-240d88aefe66c7d73b9c713c5da42ae789c011ce.tar.gz astro-240d88aefe66c7d73b9c713c5da42ae789c011ce.tar.zst astro-240d88aefe66c7d73b9c713c5da42ae789c011ce.zip |
fix format (#2736)
Diffstat (limited to 'packages/webapi/run/build.js')
-rw-r--r-- | packages/webapi/run/build.js | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/packages/webapi/run/build.js b/packages/webapi/run/build.js index 993bdcf2c..214dbe0ba 100644 --- a/packages/webapi/run/build.js +++ b/packages/webapi/run/build.js @@ -20,8 +20,18 @@ const readFile = (/** @type {string} */ id) => readFileCache[id] || (readFileCache[id] = nodeReadFile(id, 'utf8')) const pathToDOMException = path.resolve('src', 'lib', 'DOMException.js') -const pathToEventTargetShim = path.resolve('node_modules', 'event-target-shim', 'index.mjs') -const pathToStructuredClone = path.resolve('node_modules', '@ungap', 'structured-clone', 'esm', 'index.js') +const pathToEventTargetShim = path.resolve( + 'node_modules', + 'event-target-shim', + 'index.mjs' +) +const pathToStructuredClone = path.resolve( + 'node_modules', + '@ungap', + 'structured-clone', + 'esm', + 'index.js' +) const plugins = [ typescript({ |