laconic-console/packages/console-server/babel.config.js
2020-06-23 09:19:01 -05:00

28 lines
497 B
JavaScript

//
// Copyright 2020 DXOS.org
//
module.exports = {
presets: [
'@babel/preset-env',
'@babel/preset-react'
],
plugins: [
[
'babel-plugin-inline-import', {
extensions: [
'.mustache',
'.graphql'
]
}
],
// Allows export of components importing GQL files (without webpack).
'import-graphql',
'inline-json-import',
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-export-default-from'
]
};