e8175f4cca
* Add a specific embed webpack build // output assets in JSON * WIP Embed * Updated Webpack * Update exports // Webpack config * Fix app build fail * Fix NPm scripts * Reduce Embed dependencies * Fix NPM exports * remvoe stats * Lazy-Load worker (not to load in embed) * PR Grumbles + Fix tests
34 lines
670 B
Plaintext
34 lines
670 B
Plaintext
{
|
|
"presets": [
|
|
"es2017", "es2016", "es2015",
|
|
"stage-0", "react"
|
|
],
|
|
"plugins": [
|
|
"transform-decorators-legacy",
|
|
"transform-class-properties",
|
|
"transform-object-rest-spread",
|
|
"lodash",
|
|
"recharts"
|
|
],
|
|
"retainLines": true,
|
|
"env": {
|
|
"production": {
|
|
"plugins": [
|
|
"transform-react-remove-prop-types"
|
|
]
|
|
},
|
|
"development": {
|
|
"plugins": [
|
|
"react-hot-loader/babel",
|
|
["react-intl", { "messagesDir": "./.build/i18n/" }]
|
|
]
|
|
},
|
|
"test": {
|
|
"plugins": [
|
|
"transform-runtime",
|
|
[ "babel-plugin-webpack-alias", { "config": "webpack/test.js" } ]
|
|
]
|
|
}
|
|
}
|
|
}
|