diff --git a/.codesandbox/mekko/index.html b/.codesandbox/mekko/index.html
index 3a54d5bfd..2a27f8aab 100755
--- a/.codesandbox/mekko/index.html
+++ b/.codesandbox/mekko/index.html
@@ -1,4 +1,4 @@
-
+
Nebula mashup
diff --git a/.codesandbox/mekko/package.json b/.codesandbox/mekko/package.json
index 83b3e2a85..9cf461128 100755
--- a/.codesandbox/mekko/package.json
+++ b/.codesandbox/mekko/package.json
@@ -16,4 +16,4 @@
"@babel/core": "7.26.7",
"parcel": "^2.13.3"
}
-}
\ No newline at end of file
+}
diff --git a/apis/stardust/api-spec/listbox-spec.json b/apis/stardust/api-spec/listbox-spec.json
index 306af17bb..6d59c3fa8 100644
--- a/apis/stardust/api-spec/listbox-spec.json
+++ b/apis/stardust/api-spec/listbox-spec.json
@@ -189,4 +189,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/apis/stardust/core/package.json b/apis/stardust/core/package.json
index 601bb6428..9c9451933 100644
--- a/apis/stardust/core/package.json
+++ b/apis/stardust/core/package.json
@@ -8,4 +8,4 @@
"react": "^17.0.2 || ^18.1.0",
"react-dom": "^17.0.2 || ^18.1.0"
}
-}
\ No newline at end of file
+}
diff --git a/commands/build/lib/config.js b/commands/build/lib/config.js
index 5ddacb25b..cdc5b0a9e 100644
--- a/commands/build/lib/config.js
+++ b/commands/build/lib/config.js
@@ -9,6 +9,7 @@ const commonjs = require('@rollup/plugin-commonjs');
const terser = require('@rollup/plugin-terser');
const jsxPlugin = require('@babel/plugin-transform-react-jsx');
const babelPreset = require('@babel/preset-env');
+const { visualizer } = require('rollup-plugin-visualizer');
const resolveNative = require('./resolveNative');
@@ -195,6 +196,13 @@ const config = ({
})
: false,
],
+ ...[
+ mode === 'development'
+ ? visualizer({
+ filename: 'bundle-analysis.html',
+ })
+ : false,
+ ],
].filter(Boolean),
},
output: output(),
diff --git a/commands/build/package.json b/commands/build/package.json
index 05b4ca14d..dd4825b88 100644
--- a/commands/build/package.json
+++ b/commands/build/package.json
@@ -36,6 +36,7 @@
"postcss": "^8.5.1",
"rollup": "4.32.0",
"rollup-plugin-postcss": "4.0.2",
+ "rollup-plugin-visualizer": "5.14.0",
"yargs": "17.7.2"
},
"devDependencies": {
diff --git a/commands/create/templates/mashup/src/index.html b/commands/create/templates/mashup/src/index.html
index f225dc972..555ff3dbf 100644
--- a/commands/create/templates/mashup/src/index.html
+++ b/commands/create/templates/mashup/src/index.html
@@ -1,4 +1,4 @@
-
+
diff --git a/commands/serve/web/eRender.html b/commands/serve/web/eRender.html
index 020e7b2cf..7fb4d988e 100644
--- a/commands/serve/web/eRender.html
+++ b/commands/serve/web/eRender.html
@@ -1,4 +1,4 @@
-
+
@@ -24,7 +24,10 @@
body {
background: linear-gradient(110deg, #92498f 0%, #45b3b2 100%);
- font: normal 14px/16px 'Source Sans Pro', Arial, sans-serif;
+ font:
+ normal 14px/16px 'Source Sans Pro',
+ Arial,
+ sans-serif;
-webkit-font-smoothing: antialiased;
}
diff --git a/commands/serve/web/index.html b/commands/serve/web/index.html
index 1feff27b1..1558c5eec 100644
--- a/commands/serve/web/index.html
+++ b/commands/serve/web/index.html
@@ -1,4 +1,4 @@
-
+
@@ -20,7 +20,10 @@
body {
color: #404040;
- font: normal 14px/16px 'Source Sans Pro', Arial, sans-serif;
+ font:
+ normal 14px/16px 'Source Sans Pro',
+ Arial,
+ sans-serif;
-webkit-font-smoothing: antialiased;
background: linear-gradient(110deg, #91298c 0%, #45b3b2 100%);
}
diff --git a/examples/chart-conversion/index.html b/examples/chart-conversion/index.html
index 2e1b6e7c4..c4ccfe30c 100644
--- a/examples/chart-conversion/index.html
+++ b/examples/chart-conversion/index.html
@@ -1,4 +1,4 @@
-
+
diff --git a/examples/dev-mashup/index.html b/examples/dev-mashup/index.html
index 52225577f..7afa573d6 100644
--- a/examples/dev-mashup/index.html
+++ b/examples/dev-mashup/index.html
@@ -1,4 +1,4 @@
-
+
diff --git a/examples/mashup/index.html b/examples/mashup/index.html
index be9b42af2..b96327416 100644
--- a/examples/mashup/index.html
+++ b/examples/mashup/index.html
@@ -1,4 +1,4 @@
-
+
diff --git a/examples/sn-hello-react/package.json b/examples/sn-hello-react/package.json
index 3eb3465fe..5a35cf663 100644
--- a/examples/sn-hello-react/package.json
+++ b/examples/sn-hello-react/package.json
@@ -33,4 +33,4 @@
"react": "18.2.0",
"react-dom": "18.2.0"
}
-}
\ No newline at end of file
+}
diff --git a/package.json b/package.json
index 3be808812..5544179d3 100644
--- a/package.json
+++ b/package.json
@@ -109,4 +109,4 @@
"test/component/*"
],
"packageManager": "yarn@1.22.22"
-}
\ No newline at end of file
+}
diff --git a/test/fixtures/viz/listbox/src/index.js b/test/fixtures/viz/listbox/src/index.js
index 69eb2ee75..eb47f0b1c 100644
--- a/test/fixtures/viz/listbox/src/index.js
+++ b/test/fixtures/viz/listbox/src/index.js
@@ -102,8 +102,8 @@ export default function v() {
cell.qState === 'S' || cell.qState === 'L'
? STATES.S.background
: cell.qState === 'A'
- ? STATES.A.background
- : 'none'
+ ? STATES.A.background
+ : 'none'
}">${cell.qText}`
)
.join('')}`
diff --git a/test/mashup/listbox/listbox.html b/test/mashup/listbox/listbox.html
index 41cdc6da2..4f7c1966b 100644
--- a/test/mashup/listbox/listbox.html
+++ b/test/mashup/listbox/listbox.html
@@ -1,4 +1,4 @@
-
+
diff --git a/test/mashup/visualize/life.html b/test/mashup/visualize/life.html
index 48d2957e0..a32850959 100644
--- a/test/mashup/visualize/life.html
+++ b/test/mashup/visualize/life.html
@@ -1,4 +1,4 @@
-
+
diff --git a/test/rendering/listbox/listbox.html b/test/rendering/listbox/listbox.html
index 66048ce8e..874af3161 100644
--- a/test/rendering/listbox/listbox.html
+++ b/test/rendering/listbox/listbox.html
@@ -1,4 +1,4 @@
-
+
diff --git a/test/rendering/sheet/sheet.html b/test/rendering/sheet/sheet.html
index 695985351..1e21b6848 100644
--- a/test/rendering/sheet/sheet.html
+++ b/test/rendering/sheet/sheet.html
@@ -1,4 +1,4 @@
-
+
diff --git a/test/rendering/snaps/single.html b/test/rendering/snaps/single.html
index 7bc23bbdc..1cc24347a 100644
--- a/test/rendering/snaps/single.html
+++ b/test/rendering/snaps/single.html
@@ -1,4 +1,4 @@
-
+
diff --git a/test/rendering/snaps/snapper.html b/test/rendering/snaps/snapper.html
index 5d48f3a30..7e8436196 100644
--- a/test/rendering/snaps/snapper.html
+++ b/test/rendering/snaps/snapper.html
@@ -1,4 +1,4 @@
-
+
diff --git a/yarn.lock b/yarn.lock
index 4a6f67e5d..78b377572 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -15298,6 +15298,16 @@ rollup-plugin-sass@1.15.2:
resolve "^1.5.0"
sass "^1.7.2"
+rollup-plugin-visualizer@5.14.0:
+ version "5.14.0"
+ resolved "https://registry.yarnpkg.com/rollup-plugin-visualizer/-/rollup-plugin-visualizer-5.14.0.tgz#be82d43fb3c644e396e2d50ac8a53d354022d57c"
+ integrity sha512-VlDXneTDaKsHIw8yzJAFWtrzguoJ/LnQ+lMpoVfYJ3jJF4Ihe5oYLAqLklIK/35lgUY+1yEzCkHyZ1j4A5w5fA==
+ dependencies:
+ open "^8.4.0"
+ picomatch "^4.0.2"
+ source-map "^0.7.4"
+ yargs "^17.5.1"
+
rollup-pluginutils@^2.8.2:
version "2.8.2"
resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e"
@@ -16065,6 +16075,11 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1:
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
+source-map@^0.7.4:
+ version "0.7.4"
+ resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656"
+ integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==
+
spawn-wrap@^1.4.2:
version "1.4.3"
resolved "https://registry.yarnpkg.com/spawn-wrap/-/spawn-wrap-1.4.3.tgz#81b7670e170cca247d80bf5faf0cfb713bdcf848"
@@ -18083,7 +18098,7 @@ yargs@14.2.2:
y18n "^4.0.0"
yargs-parser "^15.0.0"
-yargs@17.7.2, yargs@^17.7.2:
+yargs@17.7.2, yargs@^17.5.1, yargs@^17.7.2:
version "17.7.2"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269"
integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==