-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from DataDog/yoann/rum-plugin
[plugin] RUM plugin
- Loading branch information
Showing
183 changed files
with
2,720 additions
and
1,225 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
yarn-error.log | ||
.yarn/* | ||
!.yarn/cache | ||
!.yarn/patches | ||
!.yarn/releases | ||
!.yarn/plugins | ||
!.vscode | ||
|
||
webpack-profile-debug | ||
esbuild-profile-debug | ||
node_modules/ | ||
dist/ |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-987 KB
.yarn/cache/@rollup-rollup-darwin-arm64-npm-4.17.1-add109e212-10.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-1.01 MB
.yarn/cache/@rollup-rollup-linux-arm64-gnu-npm-4.17.1-5704467160-10.zip
Binary file not shown.
Binary file added
BIN
+1.01 MB
.yarn/cache/@rollup-rollup-linux-arm64-gnu-npm-4.18.0-f633823e2b-10.zip
Binary file not shown.
Binary file removed
BIN
-1.05 MB
.yarn/cache/@rollup-rollup-linux-x64-gnu-npm-4.17.1-a2ec383d51-10.zip
Binary file not shown.
Binary file added
BIN
+1.06 MB
.yarn/cache/@rollup-rollup-linux-x64-gnu-npm-4.18.0-0aa51442a0-10.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-2.97 KB
.yarn/cache/@types-eslint-scope-npm-3.7.0-7c68026d97-27f302625b.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+3.26 KB
.yarn/cache/@types-source-list-map-npm-0.1.6-2e7e79b68d-9cd294c121.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+8.28 KB
.yarn/cache/@types-webpack-sources-npm-3.2.3-dce1c60a50-7b557f242e.zip
Binary file not shown.
Binary file removed
BIN
-49.5 KB
.yarn/cache/@webassemblyjs-ast-npm-1.11.1-623d3d973e-28cc949e2e.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-4.56 KB
.yarn/cache/@webassemblyjs-floating-point-hex-parser-npm-1.11.1-f8af5c0037-b8efc6fa08.zip
Binary file not shown.
Binary file added
BIN
+3.74 KB
.yarn/cache/@webassemblyjs-floating-point-hex-parser-npm-1.11.6-3a9928fc76-29b0875884.zip
Binary file not shown.
Binary file removed
BIN
-3.79 KB
.yarn/cache/@webassemblyjs-helper-api-error-npm-1.11.1-b839d59053-0792813f0e.zip
Binary file not shown.
Binary file added
BIN
+2.56 KB
.yarn/cache/@webassemblyjs-helper-api-error-npm-1.11.6-75f6275ff4-e8563df851.zip
Binary file not shown.
Binary file removed
BIN
-5.44 KB
.yarn/cache/@webassemblyjs-helper-buffer-npm-1.11.1-6afb1ef4aa-a337ee44b4.zip
Binary file not shown.
Binary file added
BIN
+6.19 KB
.yarn/cache/@webassemblyjs-helper-buffer-npm-1.12.1-d025434a45-1d8705daa4.zip
Binary file not shown.
Binary file removed
BIN
-4.88 KB
.yarn/cache/@webassemblyjs-helper-numbers-npm-1.11.1-a41f7439eb-cbe5b456fa.zip
Binary file not shown.
Binary file added
BIN
+3.1 KB
.yarn/cache/@webassemblyjs-helper-numbers-npm-1.11.6-819ddab1da-9ffd258ad8.zip
Binary file not shown.
Binary file removed
BIN
-8.36 KB
.yarn/cache/@webassemblyjs-helper-wasm-bytecode-npm-1.11.1-84f0ee4c30-009b494010.zip
Binary file not shown.
Binary file added
BIN
+4.28 KB
.yarn/cache/@webassemblyjs-helper-wasm-bytecode-npm-1.11.6-3bc23747de-4ebf03e9c1.zip
Binary file not shown.
Binary file removed
BIN
-9.16 KB
.yarn/cache/@webassemblyjs-helper-wasm-section-npm-1.11.1-e4e8450b9d-dd6eee9f73.zip
Binary file not shown.
Binary file added
BIN
+9.37 KB
.yarn/cache/@webassemblyjs-helper-wasm-section-npm-1.12.1-cd0e2f1eab-e91e6b2811.zip
Binary file not shown.
Binary file removed
BIN
-3.78 KB
.yarn/cache/@webassemblyjs-ieee754-npm-1.11.1-897eb85879-23a0ac02a5.zip
Binary file not shown.
Binary file added
BIN
+2.3 KB
.yarn/cache/@webassemblyjs-ieee754-npm-1.11.6-95c92f446a-13574b8e41.zip
Binary file not shown.
Binary file removed
BIN
-17.1 KB
.yarn/cache/@webassemblyjs-leb128-npm-1.11.1-fd9f27673d-85beb7156f.zip
Binary file not shown.
Binary file added
BIN
+11.5 KB
.yarn/cache/@webassemblyjs-leb128-npm-1.11.6-697d62da2e-ec3b72db0e.zip
Binary file not shown.
Binary file removed
BIN
-7.2 KB
.yarn/cache/@webassemblyjs-utf8-npm-1.11.1-583036e767-b93e57912d.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-10.5 KB
.yarn/cache/@webassemblyjs-wasm-edit-npm-1.11.1-34565c1e92-6a029ae21c.zip
Binary file not shown.
Binary file added
BIN
+12.5 KB
.yarn/cache/@webassemblyjs-wasm-edit-npm-1.12.1-727bec592a-5678ae02db.zip
Binary file not shown.
Binary file removed
BIN
-8.25 KB
.yarn/cache/@webassemblyjs-wasm-gen-npm-1.11.1-a6d0b4d37d-5da040e780.zip
Binary file not shown.
Binary file added
BIN
+9.5 KB
.yarn/cache/@webassemblyjs-wasm-gen-npm-1.12.1-bbe22ad265-ec45bd50e8.zip
Binary file not shown.
Binary file removed
BIN
-5.48 KB
.yarn/cache/@webassemblyjs-wasm-opt-npm-1.11.1-0bb73c20b9-00f85d1f76.zip
Binary file not shown.
Binary file added
BIN
+6.76 KB
.yarn/cache/@webassemblyjs-wasm-opt-npm-1.12.1-450c932de6-21f25ae109.zip
Binary file not shown.
Binary file removed
BIN
-25.8 KB
.yarn/cache/@webassemblyjs-wasm-parser-npm-1.11.1-cd49c51fdc-cc6de8f4d9.zip
Binary file not shown.
Binary file added
BIN
+27.3 KB
.yarn/cache/@webassemblyjs-wasm-parser-npm-1.12.1-54a7a19806-f7311685b7.zip
Binary file not shown.
Binary file removed
BIN
-8.81 KB
.yarn/cache/@webassemblyjs-wast-printer-npm-1.11.1-f1213430d6-bd1cf7a063.zip
Binary file not shown.
Binary file added
BIN
+9.59 KB
.yarn/cache/@webassemblyjs-wast-printer-npm-1.12.1-e75655c7ff-1a6a4b6bc4.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-8.93 KB
.yarn/cache/acorn-import-assertions-npm-1.7.6-06125ebcd0-3df7728ff6.zip
Binary file not shown.
Binary file added
BIN
+10.6 KB
.yarn/cache/acorn-import-attributes-npm-1.9.5-d1e666eb35-8bfbfbb6e2.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+39.5 KB
.yarn/cache/electron-to-chromium-npm-1.4.820-366c81a402-6f283fdb22.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+48.2 KB
...ugin-npm-1.10.1-b23391b255-d9819fad8a.zip → ...ugin-npm-1.11.0-0b6b24a0d1-debe6223b0.zip
Binary file not shown.
Binary file added
BIN
+6.87 KB
.yarn/cache/update-browserslist-db-npm-1.1.0-3d2cb7d955-d70b9efeaf.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+451 KB
...pack-npm-4.44.2-eedc4b763e-1be2628244.zip → ...pack-npm-4.47.0-42e477a08c-d5763ee8d6.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
diff --git a/dist/index.js b/dist/index.js | ||
index e20e787eb708d88135de6fbff72b0460ac7ae13b..b2a20f4adb99fb1b055d9fd661cf56e2e549926c 100644 | ||
--- a/dist/index.js | ||
+++ b/dist/index.js | ||
@@ -1655,8 +1655,8 @@ function getRspackPlugin(factory) { | ||
}); | ||
} | ||
if (plugin.writeBundle) { | ||
- compiler.hooks.afterEmit.tap(plugin.name, () => { | ||
- plugin.writeBundle(); | ||
+ compiler.hooks.afterEmit.tapPromise(plugin.name, async () => { | ||
+ await plugin.writeBundle(); | ||
}); | ||
} | ||
} | ||
@@ -1910,8 +1910,8 @@ function getWebpackPlugin(factory) { | ||
}); | ||
} | ||
if (plugin.writeBundle) { | ||
- compiler.hooks.afterEmit.tap(plugin.name, () => { | ||
- plugin.writeBundle(); | ||
+ compiler.hooks.afterEmit.tapPromise(plugin.name, async () => { | ||
+ await plugin.writeBundle(); | ||
}); | ||
} | ||
} | ||
diff --git a/dist/index.mjs b/dist/index.mjs | ||
index 7d9b930daf919a180caf2e33a6ed684d53dbc1c5..f4015052d77ae18ae5357fa670ef85e4c3c0007f 100644 | ||
--- a/dist/index.mjs | ||
+++ b/dist/index.mjs | ||
@@ -1619,8 +1619,8 @@ function getRspackPlugin(factory) { | ||
}); | ||
} | ||
if (plugin.writeBundle) { | ||
- compiler.hooks.afterEmit.tap(plugin.name, () => { | ||
- plugin.writeBundle(); | ||
+ compiler.hooks.afterEmit.tapPromise(plugin.name, async () => { | ||
+ await plugin.writeBundle(); | ||
}); | ||
} | ||
} | ||
@@ -1874,8 +1874,8 @@ function getWebpackPlugin(factory) { | ||
}); | ||
} | ||
if (plugin.writeBundle) { | ||
- compiler.hooks.afterEmit.tap(plugin.name, () => { | ||
- plugin.writeBundle(); | ||
+ compiler.hooks.afterEmit.tapPromise(plugin.name, async () => { | ||
+ await plugin.writeBundle(); | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.