forked from cerc-io/laconic-console
eb6bcd9c95
Use Moustache to create template and set config in page. Use babel plugins to process GQL (and fix GQL queries). Added service type.
19 lines
361 B
JavaScript
19 lines
361 B
JavaScript
//
|
|
// Copyright 2020 DxOS.org
|
|
//
|
|
|
|
module.exports = {
|
|
presets: [
|
|
'@babel/preset-env',
|
|
'@babel/preset-react'
|
|
],
|
|
plugins: [
|
|
// 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'
|
|
]
|
|
};
|