forked from MichaelYick/mailpoet
Add Babel config for @mailpoet/components
[MAILPOET-5015]
This commit is contained in:
parent
790f3f4974
commit
093814eaa7
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';
|
Loading…
x
Reference in New Issue
Block a user