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.
Files changed (2) hide show
  1. package/dist/preset.js +1 -1
  2. 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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "storybook-addon-sdc",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Drupal Single Directory Components as stories",
5
5
  "keywords": [
6
6
  "SDC",