Skip to content

Commit

Permalink
fix: import invalid config path
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasster committed Jul 3, 2020
1 parent c5ada4f commit fd91a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/loader/src/replaceSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ${stories
const newContent = `
${imports}
${storeConst}
store.config = configJSON.default || configJSON;
store.config = ${configFilePath ? 'configJSON.default ||' : ''} configJSON;
store.buildConfig = ${config ? JSON.stringify(config) : '{}'};
${loadStories}
${hmr}
Expand Down

0 comments on commit fd91a1d

Please sign in to comment.