@yoamigo.com/core 0.1.2 → 0.1.3
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/plugin.js +5 -5
- package/package.json +1 -1
package/dist/plugin.js
CHANGED
|
@@ -19,16 +19,16 @@ function yoamigoPlugin(options = {}) {
|
|
|
19
19
|
{ find: "react-dom/client", replacement: "preact/compat/client" },
|
|
20
20
|
{ find: "react-dom", replacement: "preact/compat" },
|
|
21
21
|
{ find: "react/jsx-runtime", replacement: "preact/jsx-runtime" },
|
|
22
|
-
// === @yoamigo/core -> Production barrel ===
|
|
22
|
+
// === @yoamigo.com/core -> Production barrel ===
|
|
23
23
|
// Redirect the entire components import to use static versions.
|
|
24
24
|
// This removes Tiptap and editing UI from the production bundle.
|
|
25
25
|
{
|
|
26
|
-
find: /^@yoamigo\/core$/,
|
|
27
|
-
replacement: "@yoamigo/core/prod"
|
|
26
|
+
find: /^@yoamigo\.com\/core$/,
|
|
27
|
+
replacement: "@yoamigo.com/core/prod"
|
|
28
28
|
},
|
|
29
29
|
{
|
|
30
|
-
find: /^@yoamigo\/core\/lib$/,
|
|
31
|
-
replacement: "@yoamigo/core/lib/prod"
|
|
30
|
+
find: /^@yoamigo\.com\/core\/lib$/,
|
|
31
|
+
replacement: "@yoamigo.com/core/lib/prod"
|
|
32
32
|
}
|
|
33
33
|
] : [],
|
|
34
34
|
// === Template-specific path aliases ===
|