@pure-ds/storybook 0.1.0 → 0.1.1

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.
@@ -64,7 +64,7 @@ async function loadConfigForm() {
64
64
  );
65
65
 
66
66
  await Promise.race([
67
- import('../../../../pds-configurator/src/pds-config-form.js'),
67
+ import('@pds-src/js/pds-configurator/pds-config-form.js'),
68
68
  importTimeout
69
69
  ]);
70
70
 
@@ -144,8 +144,8 @@ const config = {
144
144
  if (fs.existsSync(userConfigPath)) {
145
145
  config.resolve.alias['@user/pds-config'] = userConfigPath;
146
146
  } else {
147
- // Fallback to a dummy module if user config doesn't exist
148
- config.resolve.alias['@user/pds-config'] = 'data:text/javascript,export const config = {};';
147
+ // Fallback to a default config file if user config doesn't exist
148
+ config.resolve.alias['@user/pds-config'] = resolve(currentDirname, '../default-pds.config.js');
149
149
  }
150
150
 
151
151
  // Set base path for production builds
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pure-ds/storybook",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Storybook showcase for Pure Design System with live configuration",
5
5
  "type": "module",
6
6
  "private": false,