summaryrefslogtreecommitdiff
path: root/packages/webapi/run/build.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/webapi/run/build.js')
-rw-r--r--packages/webapi/run/build.js14
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({