@mintlify/common 1.0.1255 → 1.0.1256
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.
|
@@ -20,7 +20,7 @@ export const extractPackageIslands = (tree, options) => {
|
|
|
20
20
|
return [];
|
|
21
21
|
return [...sideEffects].map(([source, line]) => {
|
|
22
22
|
const message = CSS_SPECIFIER.test(source)
|
|
23
|
-
? `"${source}" is imported on a page without package components, so it never loads.
|
|
23
|
+
? `"${source}" is imported on a page without package components, so it never loads. Use a package component on this page or remove this import.`
|
|
24
24
|
: `"${source}" is imported on a page without package components, so it never runs. Use a package component on this page or remove this import.`;
|
|
25
25
|
return { line, code: 'side-effect-import-without-island', message };
|
|
26
26
|
});
|