@plumeria/turbopack-loader 2.1.2 → 2.2.1
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 +1 -7
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -108,13 +108,7 @@ function loader(source) {
|
|
|
108
108
|
}
|
|
109
109
|
const virtualCssRequest = stringifyRequest(this, `${VIRTUAL_CSS_PATH}`);
|
|
110
110
|
const postfix = `\nimport ${virtualCssRequest};`;
|
|
111
|
-
|
|
112
|
-
try {
|
|
113
|
-
css = fs_1.default.readFileSync(VIRTUAL_FILE_PATH, 'utf-8');
|
|
114
|
-
}
|
|
115
|
-
catch (e) {
|
|
116
|
-
e;
|
|
117
|
-
}
|
|
111
|
+
const css = fs_1.default.readFileSync(VIRTUAL_FILE_PATH, 'utf-8');
|
|
118
112
|
function generateOrderedCSS(styles) {
|
|
119
113
|
const sections = [];
|
|
120
114
|
if (styles.keyframeStyles?.trim()) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/turbopack-loader",
|
|
3
|
-
"version": "2.1
|
|
3
|
+
"version": "2.2.1",
|
|
4
4
|
"description": "Plumeria Turbopack-loader",
|
|
5
5
|
"author": "Refirst 11",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"zero-virtual.css"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@plumeria/utils": "^2.1
|
|
25
|
+
"@plumeria/utils": "^2.2.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@swc/core": "1.15.2",
|
|
29
|
-
"zss-engine": "1.2.
|
|
29
|
+
"zss-engine": "1.2.2"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public",
|