@plumeria/turbopack-loader 18.3.14 → 18.3.16
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 +7 -0
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -289,6 +289,13 @@ async function loader(source) {
|
|
|
289
289
|
mergedCreateTable[rootId] !== undefined ||
|
|
290
290
|
mergedVariantsTable[rootId] !== undefined);
|
|
291
291
|
if (!isPlumeriaStyle) {
|
|
292
|
+
const origin = rootId ? localImports[rootId] : undefined;
|
|
293
|
+
const failure = origin
|
|
294
|
+
? (0, utils_1.resolveFileError)(origin.actualPath, origin.importedName)
|
|
295
|
+
: undefined;
|
|
296
|
+
if (failure) {
|
|
297
|
+
throwCompilationError(`Plumeria: ${failure.message} (${path.basename(failure.filePath)})`);
|
|
298
|
+
}
|
|
292
299
|
throwCompilationError(`Plumeria: Dynamic or unresolvable style object "${getSource(node)}" is not supported.`, node);
|
|
293
300
|
}
|
|
294
301
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plumeria/turbopack-loader",
|
|
3
|
-
"version": "18.3.
|
|
3
|
+
"version": "18.3.16",
|
|
4
4
|
"description": "Plumeria Turbopack-loader",
|
|
5
5
|
"author": "Refirst 11",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"zero-virtual.css"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@plumeria/compiler": "^18.3.
|
|
33
|
-
"@plumeria/utils": "^18.3.
|
|
32
|
+
"@plumeria/compiler": "^18.3.16",
|
|
33
|
+
"@plumeria/utils": "^18.3.16"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@swc/core": "1.15.47",
|
|
37
|
-
"zss-engine": "2.
|
|
37
|
+
"zss-engine": "2.7.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public",
|