Skip to content

Commit

Permalink
chore(build): use common header and Babel preset (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomaash authored and yotamberk committed Dec 30, 2019
1 parent 5fce642 commit b85414a
Show file tree
Hide file tree
Showing 6 changed files with 179 additions and 559 deletions.
48 changes: 1 addition & 47 deletions .babelrc
@@ -1,50 +1,4 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"browsers": "> 0.1% or not dead",
"esmodules": false
},
"useBuiltIns": false
}
],
"@babel/preset-typescript"
],
"plugins": [
"css-modules-transform",
"@babel/proposal-class-properties",
"@babel/proposal-object-rest-spread",
[
"@babel/plugin-transform-runtime",
{
"corejs": 3
}
]
],
"exclude": ["**/node_modules/**"],
"env": {
"test": {
"presets": [
[
"@babel/preset-env",
{
"targets": "maintained node versions"
}
]
]
},
"test-cov": {
"presets": [
[
"@babel/preset-env",
{
"targets": "maintained node versions"
}
]
],
"plugins": ["istanbul"]
}
}
"presets": [["vis-dev-utils/babel-preset", { "css": true, "ts": true }]]
}
44 changes: 0 additions & 44 deletions dev-lib/header.js

This file was deleted.

0 comments on commit b85414a

Please sign in to comment.