@pure-ds/storybook 0.5.47 → 0.5.48
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/.storybook/main.js +4 -2
- package/dist/pds-reference.json +1 -1
- package/package.json +1 -1
package/.storybook/main.js
CHANGED
|
@@ -78,7 +78,9 @@ const config = {
|
|
|
78
78
|
|
|
79
79
|
const normalizedId = id.replace(/\\/g, '/');
|
|
80
80
|
const normalizedImporter = importer.replace(/\\/g, '/');
|
|
81
|
-
const isStoryImport =
|
|
81
|
+
const isStoryImport =
|
|
82
|
+
normalizedImporter.includes('/@pure-ds/storybook/stories/') ||
|
|
83
|
+
normalizedImporter.includes('/.cache/pds-storybook/stories/');
|
|
82
84
|
|
|
83
85
|
if (!isStoryImport) return null;
|
|
84
86
|
|
|
@@ -99,7 +101,7 @@ const config = {
|
|
|
99
101
|
// Ensure Lit import alias is resolved to PDS bundle
|
|
100
102
|
const aliases = {
|
|
101
103
|
...config.resolve.alias,
|
|
102
|
-
'#pds/lit': resolve(pdsSrcPath, 'js/lit.js')
|
|
104
|
+
'#pds/lit': resolve(pdsSrcPath, 'js/lit.js')
|
|
103
105
|
};
|
|
104
106
|
|
|
105
107
|
// In monorepo, pds-configurator is in a separate package, not in src/js
|
package/dist/pds-reference.json
CHANGED