Skip to content

Commit

Permalink
chore: update rollup config
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack committed Oct 29, 2024
1 parent dabf3b4 commit 91619db
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/octicons_styled/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default [
}
},
{
input: icons.map(name => `src/__generated__/icons/${name}.js`),
input: Object.fromEntries(icons.map(name => [`icons/${name}`, `src/__generated__/icons/${name}.js`])),
plugins: [
babel({
babelrc: false,
Expand All @@ -31,9 +31,7 @@ export default [
],
output: {
dir: 'dist',
format: 'esm',
preserveModules: true,
preserveModulesRoot: 'src/__generated__'
format: 'esm'
}
}
]

0 comments on commit 91619db

Please sign in to comment.