@plumeria/vite-plugin 4.2.1 → 5.0.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 +19 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -111,10 +111,25 @@ export function plumeria(options = {}) {
|
|
|
111
111
|
}
|
|
112
112
|
},
|
|
113
113
|
});
|
|
114
|
-
const mergedStaticTable =
|
|
115
|
-
const
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
const mergedStaticTable = { ...tables.staticTable };
|
|
115
|
+
for (const key of Object.keys(localConsts)) {
|
|
116
|
+
mergedStaticTable[key] = localConsts[key];
|
|
117
|
+
}
|
|
118
|
+
for (const key of Object.keys(importMap)) {
|
|
119
|
+
mergedStaticTable[key] = importMap[key];
|
|
120
|
+
}
|
|
121
|
+
const mergedKeyframesTable = { ...tables.keyframesHashTable };
|
|
122
|
+
for (const key of Object.keys(importMap)) {
|
|
123
|
+
mergedKeyframesTable[key] = importMap[key];
|
|
124
|
+
}
|
|
125
|
+
const mergedViewTransitionTable = { ...tables.viewTransitionHashTable };
|
|
126
|
+
for (const key of Object.keys(importMap)) {
|
|
127
|
+
mergedViewTransitionTable[key] = importMap[key];
|
|
128
|
+
}
|
|
129
|
+
const mergedThemeTable = { ...tables.themeTable };
|
|
130
|
+
for (const key of Object.keys(importMap)) {
|
|
131
|
+
mergedThemeTable[key] = importMap[key];
|
|
132
|
+
}
|
|
118
133
|
const localCreateStyles = {};
|
|
119
134
|
const replacements = [];
|
|
120
135
|
const extractedSheets = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/vite-plugin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Plumeria Vite plugin",
|
|
6
6
|
"author": "Refirst 11",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dist/"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@plumeria/utils": "^
|
|
25
|
+
"@plumeria/utils": "^5.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@swc/core": "1.15.8",
|