Compare commits

..
2 Commits
Author SHA1 Message Date
Rami Bitar f71d73d7c0 Bump React Editor core to 0.0.43 2026-09-05 12:17:28 -04:00
Rami Bitar b2d2f65071 Fix Hydrogen webpack build and editor link keys 2026-08-29 21:31:32 -04:00
4 changed files with 17 additions and 9 deletions
+2 -2
View File
@@ -54,9 +54,9 @@ const Footer: React.FC<FooterProps> = ({
/>
<nav className="flex flex-wrap items-center justify-center gap-x-5 gap-y-2 sm:justify-start">
{links.map((link) => (
{links.map((link, index) => (
<a
key={link.label}
key={`${link.url}-${index}`}
href={link.url}
className="text-sm text-muted-foreground hover:text-foreground transition-colors"
>
+9 -1
View File
@@ -27,8 +27,16 @@ export default {
experimental: {
reactDebugChannel: false,
},
webpack: (config, { isServer }) => {
webpack: (config, { isServer, webpack }) => {
config.cache = { type: 'memory' };
// Hydrogen's root entry imports this browser-only analytics module by URL.
// Webpack resolves it before tree-shaking and otherwise rejects the https: scheme.
config.plugins.push(
new webpack.IgnorePlugin({
resourceRegExp:
/^https:\/\/cdn\.shopify\.com\/storefront\/standard-events\.js$/,
})
);
if (isServer) {
config.optimization = config.optimization || {};
config.optimization.splitChunks = false;
+1 -1
View File
@@ -17,7 +17,7 @@
"@openrouter/ai-sdk-provider": "^3.0.0",
"@radix-ui/react-slot": "^1.3.3",
"@radix-ui/react-use-controllable-state": "^1.2.6",
"@reacteditor/core": "0.0.42",
"@reacteditor/core": "0.0.43",
"@reacteditor/plugin-shopify": "0.0.2",
"@reacteditor/plugin-tailwind-cdn": "0.0.4",
"@remixicon/react": "^4.9.0",
+5 -5
View File
@@ -2316,9 +2316,9 @@ __metadata:
languageName: node
linkType: hard
"@reacteditor/core@npm:0.0.42":
version: 0.0.42
resolution: "@reacteditor/core@npm:0.0.42"
"@reacteditor/core@npm:0.0.43":
version: 0.0.43
resolution: "@reacteditor/core@npm:0.0.43"
dependencies:
"@chakra-ui/react": "npm:^3.35.0"
"@dnd-kit/abstract": "npm:0.4.0"
@@ -2361,7 +2361,7 @@ __metadata:
zustand: "npm:^5.0.13"
peerDependencies:
react: ^18.0.0 || ^19.0.0
checksum: 10c0/88fcab31a228b9ad8489000e4431bb2de220cd1f910cf8935e2543aa253f15111a943c660897245d294aada398b243f2b53d514e710970d900714f4a8f58cb5e
checksum: 10c0/6dd0cb88d46bbd82e6fdae8e7fa8bb16eec28793a5d65c55ba0013b2b71bca7d2bf0fd6c4d7a2cb934a73a8b077d8ad7fac169aaacd53e77729b2adc14d93ace
languageName: node
linkType: hard
@@ -5827,7 +5827,7 @@ __metadata:
"@openrouter/ai-sdk-provider": "npm:^3.0.0"
"@radix-ui/react-slot": "npm:^1.3.3"
"@radix-ui/react-use-controllable-state": "npm:^1.2.6"
"@reacteditor/core": "npm:0.0.42"
"@reacteditor/core": "npm:0.0.43"
"@reacteditor/plugin-shopify": "npm:0.0.2"
"@reacteditor/plugin-tailwind-cdn": "npm:0.0.4"
"@remixicon/react": "npm:^4.9.0"