diff --git a/libraries/core-react/rollup.config.js b/libraries/core-react/rollup.config.js index 40bc66b219..a6bc700daf 100644 --- a/libraries/core-react/rollup.config.js +++ b/libraries/core-react/rollup.config.js @@ -24,7 +24,7 @@ export default [ }, plugins: [ json(), - resolve({ extensions: ['.jsx'] }), + resolve({ extensions: ['.jsx', '.js'] }), babel({ exclude: 'node_modules/**', presets: ['@babel/env', '@babel/preset-react'],