@hubspot/cms-dev-server 0.8.4 → 0.8.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
package/dist/run.js CHANGED
@@ -1191,7 +1191,12 @@ var moduleRouteHandler = async (request2, response) => {
1191
1191
  viteServer,
1192
1192
  jsRenderingGates
1193
1193
  );
1194
- const html = htmlShell.replace("<!--headend-->", [cssNeeded, ...inlineAssets].join("\n")).replace(`<!--ssr-outlet-->`, renderedHtml);
1194
+ const html = htmlShell.replace(
1195
+ "<!--headend-->",
1196
+ [cssNeeded, ...inlineAssets.map((inlineAsset) => inlineAsset.html)].join(
1197
+ "\n"
1198
+ )
1199
+ ).replace(`<!--ssr-outlet-->`, renderedHtml);
1195
1200
  response.status(200).set({ "Content-Type": "text/html" }).end(html);
1196
1201
  } catch (e) {
1197
1202
  console.error(e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/cms-dev-server",
3
- "version": "0.8.4",
3
+ "version": "0.8.5",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "engines": {
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@hubspot/cli-lib": "^3.0.12",
28
- "@hubspot/cms-components": "^0.8.4",
28
+ "@hubspot/cms-components": "^0.8.5",
29
29
  "@originjs/vite-plugin-commonjs": "^1.0.3",
30
30
  "@storybook/addon-actions": "7.0.7",
31
31
  "@storybook/addon-essentials": "7.0.7",
@@ -100,5 +100,5 @@
100
100
  "publishConfig": {
101
101
  "access": "public"
102
102
  },
103
- "gitHead": "f75353eed1a5d59d1e1af013767f70f0910d7d88"
103
+ "gitHead": "c430bb20b7d19f97f5781f1c0439974fd04d6dac"
104
104
  }
@@ -0,0 +1,2 @@
1
+ import { Alias } from 'vite';
2
+ export default function generateBpmAliases(webRoot: string): Alias[];
@@ -0,0 +1,3 @@
1
+ import { Plugin } from 'vite';
2
+ declare const noNodeBuiltinsPlugin: () => Plugin;
3
+ export default noNodeBuiltinsPlugin;
@@ -0,0 +1,2 @@
1
+ import { Plugin } from 'vite';
2
+ export default function devSecretsPlugin(secretNames: Array<string>): Plugin;