@plumeria/webpack-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
|
@@ -61,10 +61,25 @@ function loader(source) {
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
});
|
|
64
|
-
const mergedStaticTable =
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
|
|
64
|
+
const mergedStaticTable = { ...utils_1.tables.staticTable };
|
|
65
|
+
for (const key of Object.keys(localConsts)) {
|
|
66
|
+
mergedStaticTable[key] = localConsts[key];
|
|
67
|
+
}
|
|
68
|
+
for (const key of Object.keys(importMap)) {
|
|
69
|
+
mergedStaticTable[key] = importMap[key];
|
|
70
|
+
}
|
|
71
|
+
const mergedKeyframesTable = { ...utils_1.tables.keyframesHashTable };
|
|
72
|
+
for (const key of Object.keys(importMap)) {
|
|
73
|
+
mergedKeyframesTable[key] = importMap[key];
|
|
74
|
+
}
|
|
75
|
+
const mergedViewTransitionTable = { ...utils_1.tables.viewTransitionHashTable };
|
|
76
|
+
for (const key of Object.keys(importMap)) {
|
|
77
|
+
mergedViewTransitionTable[key] = importMap[key];
|
|
78
|
+
}
|
|
79
|
+
const mergedThemeTable = { ...utils_1.tables.themeTable };
|
|
80
|
+
for (const key of Object.keys(importMap)) {
|
|
81
|
+
mergedThemeTable[key] = importMap[key];
|
|
82
|
+
}
|
|
68
83
|
const isTSFile = this.resourcePath.endsWith('.ts') && !this.resourcePath.endsWith('.tsx');
|
|
69
84
|
const localCreateStyles = {};
|
|
70
85
|
const replacements = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/webpack-plugin",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Plumeria Webpack plugin",
|
|
5
5
|
"author": "Refirst 11",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"zero-virtual.css"
|
|
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",
|