apple2js/babel.config.js

28 lines
517 B
JavaScript
Raw Normal View History

2019-03-27 04:02:27 +00:00
// babel.config.js
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
node: 'current',
},
},
],
[
'@babel/typescript',
{
jsxPragma: 'h'
}
],
2019-03-27 04:02:27 +00:00
],
plugins: [
[
'@babel/plugin-transform-react-jsx', {
pragma: 'h',
pragmaFrag: 'Fragment',
}
]
]
2019-03-27 04:02:27 +00:00
};