Skip to content

Commit

Permalink
chore: target index.js as entry
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfalaska committed Nov 5, 2024
1 parent 7239054 commit 71e5427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const production = !process.env.ROLLUP_WATCH;

// Get entry points for each component
const getComponentEntryPoints = () => {
const files = glob.sync('components/*/src/*.js');
const files = glob.sync('components/*/src/index.js');
return files.map(file => {
const name = path.basename(path.dirname(file));
return {
Expand Down

0 comments on commit 71e5427

Please sign in to comment.