From c0dde32b679fa0e84e1c2665faf489beb84270dd Mon Sep 17 00:00:00 2001 From: Birk Skyum <74932975+birkskyum@users.noreply.github.com> Date: Tue, 8 Feb 2022 21:41:34 +0100 Subject: [PATCH] Revert "Move benchmarks to ES modules (#964)" This reverts commit aa8ed9d0847cd0161ec45005aaed6df4664fa162. --- bench/rollup_config_benchmarks.ts | 6 +++--- bench/styles/index.html | 10 ++++------ bench/versions/index.html | 8 +++----- 3 files changed, 10 insertions(+), 14 deletions(-) diff --git a/bench/rollup_config_benchmarks.ts b/bench/rollup_config_benchmarks.ts index 575ff08516..00bab50672 100644 --- a/bench/rollup_config_benchmarks.ts +++ b/bench/rollup_config_benchmarks.ts @@ -38,7 +38,7 @@ const splitConfig = (name: string): RollupOptions[] => [{ input: [`${srcDir}bench/${name}/benchmarks.${inputExt}`, `${srcDir}src/source/worker.${inputExt}`], output: { dir: `rollup/build/benchmarks/${name}`, - format: 'es', + format: 'amd', indent: false, sourcemap: 'inline', chunkFileNames: 'shared.js' @@ -48,7 +48,7 @@ const splitConfig = (name: string): RollupOptions[] => [{ input: `rollup/benchmarks_${name}.js`, output: { file: `bench/${name}/benchmarks_generated.js`, - format: 'es', + format: 'umd', indent: false, sourcemap: true, intro @@ -62,7 +62,7 @@ const viewConfig: RollupOptions = { output: { name: 'Benchmarks', file: 'bench/benchmarks_view_generated.js', - format: 'es', + format: 'umd', indent: false, sourcemap: false }, diff --git a/bench/styles/index.html b/bench/styles/index.html index 93867fe091..e3d091ca6c 100644 --- a/bench/styles/index.html +++ b/bench/styles/index.html @@ -12,12 +12,10 @@
- - + + diff --git a/bench/versions/index.html b/bench/versions/index.html index 1bf93d735d..b34091f9be 100644 --- a/bench/versions/index.html +++ b/bench/versions/index.html @@ -12,9 +12,8 @@
- - +