Skip to content

Commit

Permalink
Change entrypoints to be ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Apr 11, 2022
1 parent d086bbc commit 5fa12be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion addons/links/react.js
@@ -1 +1,3 @@
module.exports = require('./dist/esm/react');
import LinkTo from './dist/esm/react';

export default LinkTo;
3 changes: 1 addition & 2 deletions lib/core/client.js
@@ -1,3 +1,2 @@
// @storybook/core was split into core-client and core-server. This file is for backwards-compat.
// TODO: remove in 7.0
module.exports = require('./dist/esm/index');
export * from './dist/esm/index';

0 comments on commit 5fa12be

Please sign in to comment.