Add Babel config for @mailpoet/components
[MAILPOET-5015]
This commit is contained in:
8
babel.config.js
Normal file
8
babel.config.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
export default {
|
||||||
|
presets: [
|
||||||
|
['@babel/preset-react', { runtime: 'automatic' }],
|
||||||
|
'@babel/preset-env',
|
||||||
|
'@babel/preset-typescript',
|
||||||
|
],
|
||||||
|
plugins: [['@babel/plugin-transform-runtime']],
|
||||||
|
};
|
1
packages/js/components/.babelrc.js
Normal file
1
packages/js/components/.babelrc.js
Normal file
@ -0,0 +1 @@
|
|||||||
|
export { default } from '../../../babel.config.js';
|
Reference in New Issue
Block a user