Skip to content

Commit

Permalink
fix(build): use common header and Babel preset (#237)
Browse files Browse the repository at this point in the history
See visjs/vis-dev-utils#5.

This also removes prototype pollution associated with the previously
used `useBuiltIns: true`.
  • Loading branch information
Thomaash authored and yotamberk committed Dec 30, 2019
1 parent b601833 commit 61ad7cf
Show file tree
Hide file tree
Showing 5 changed files with 1,100 additions and 97 deletions.
8 changes: 2 additions & 6 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"presets": [
["@babel/preset-env", {
"targets": "> 0.1% or not dead"
}]
],
"plugins": ["css-modules-transform"]
"exclude": ["**/node_modules/**"],
"presets": [["vis-dev-utils/babel-preset", { "css": true }]]
}
44 changes: 0 additions & 44 deletions lib/header.js

This file was deleted.

Loading

0 comments on commit 61ad7cf

Please sign in to comment.