@hubspot/cms-dev-server 0.8.6 → 0.9.0

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.
package/dist/index.js CHANGED
@@ -102,6 +102,7 @@ Custom origin: ${process.env.VITE_ORIGIN}
102
102
  protocol: sslEnabled ? "wss" : void 0
103
103
  }
104
104
  },
105
+ root: webRoot,
105
106
  ssr: {
106
107
  // TODO: might need more entries here to get things to resolve through
107
108
  // resolveWebRootDepsPlugin
@@ -118,7 +119,11 @@ Custom origin: ${process.env.VITE_ORIGIN}
118
119
  sslEnabled ? mkcert({ hosts: additionalMkcertHosts }) : null,
119
120
  react({
120
121
  babel: {
121
- plugins: ["babel-plugin-styled-components", "styled-jsx/babel"]
122
+ plugins: [
123
+ "babel-plugin-styled-components",
124
+ "styled-jsx/babel",
125
+ "macros"
126
+ ]
122
127
  }
123
128
  }),
124
129
  clientIslandEntryPlugin(),
package/dist/run.js CHANGED
@@ -2217,6 +2217,7 @@ Custom origin: ${process.env.VITE_ORIGIN}
2217
2217
  protocol: sslEnabled ? "wss" : void 0
2218
2218
  }
2219
2219
  },
2220
+ root: webRoot2,
2220
2221
  ssr: {
2221
2222
  // TODO: might need more entries here to get things to resolve through
2222
2223
  // resolveWebRootDepsPlugin
@@ -2233,7 +2234,11 @@ Custom origin: ${process.env.VITE_ORIGIN}
2233
2234
  sslEnabled ? mkcert({ hosts: additionalMkcertHosts }) : null,
2234
2235
  react({
2235
2236
  babel: {
2236
- plugins: ["babel-plugin-styled-components", "styled-jsx/babel"]
2237
+ plugins: [
2238
+ "babel-plugin-styled-components",
2239
+ "styled-jsx/babel",
2240
+ "macros"
2241
+ ]
2237
2242
  }
2238
2243
  }),
2239
2244
  clientIslandEntryPlugin(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/cms-dev-server",
3
- "version": "0.8.6",
3
+ "version": "0.9.0",
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.6",
28
+ "@hubspot/cms-components": "^0.9.0",
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",
@@ -37,6 +37,7 @@
37
37
  "@storybook/testing-library": "^0.0.13",
38
38
  "@vitejs/plugin-react": "^4.0.0",
39
39
  "ansi-to-html": "0.7.x",
40
+ "babel-plugin-macros": "^3.1.0",
40
41
  "babel-plugin-styled-components": "^2.1.4",
41
42
  "cors": "^2.8.5",
42
43
  "debug": "^4.3.4",
@@ -100,5 +101,5 @@
100
101
  "publishConfig": {
101
102
  "access": "public"
102
103
  },
103
- "gitHead": "803096069b28abd1842356254912bfa911db1884"
104
+ "gitHead": "f57bf5f6b7984a619c6e5c1b80d4e51fe636a9a7"
104
105
  }