react-timekeeper
Version:
Time picker based on the style of the Google Keep app
33 lines (30 loc) • 517 B
JavaScript
const isProd = process.env.NODE_ENV === 'production'
const config = {
"presets": [
[
"@babel/preset-env",
{
"targets": {
"browsers": [
">0.5%",
"not ie 11",
"not op_mini all",
"not dead"
]
}
}
],
"@babel/preset-typescript",
["@babel/preset-react", {
"runtime": "automatic",
"importSource": "@emotion/react"
}],
],
"plugins": [
"@emotion/babel-plugin"
]
}
if (!isProd){
config.plugins.push('react-hot-loader/babel')
}
module.exports = config