Skip to content

Commit

Permalink
chore: update rollup config (#854)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack committed Oct 13, 2022
1 parent bc35479 commit b91cd10
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions lib/octicons_styled/rollup.config.js
Expand Up @@ -11,7 +11,11 @@ export default [
plugins: [
babel({
babelrc: false,
presets: [['env', {modules: false}], 'stage-0', 'react']
presets: [
[require.resolve('babel-preset-env'), {modules: false}],
require.resolve('babel-preset-stage-0'),
require.resolve('babel-preset-react')
]
}),
commonjs()
],
Expand All @@ -26,7 +30,11 @@ export default [
plugins: [
babel({
babelrc: false,
presets: [['env', {modules: false}], 'stage-0', 'react']
presets: [
[require.resolve('babel-preset-env'), {modules: false}],
require.resolve('babel-preset-stage-0'),
require.resolve('babel-preset-react')
]
}),
commonjs()
],
Expand Down

0 comments on commit b91cd10

Please sign in to comment.