storybook-addon-sdc 0.1.2 → 0.1.3
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/preset.js +1 -1
- package/package.json +1 -1
package/dist/preset.js
CHANGED
|
@@ -5603,7 +5603,7 @@ var generateImports = (directory) => {
|
|
|
5603
5603
|
return assets.reduce((imports, asset) => {
|
|
5604
5604
|
const assetPath = `./${asset}`;
|
|
5605
5605
|
const extension = extname(asset);
|
|
5606
|
-
if ([".css", ".js"].includes(extension)) {
|
|
5606
|
+
if ([".css", ".js", ".mjs"].includes(extension)) {
|
|
5607
5607
|
return `${imports} import '${assetPath}';
|
|
5608
5608
|
`;
|
|
5609
5609
|
}
|