Skip to content

Commit

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

As in other projects has already been done:
- There should be no more prototype polution.
- Uglify was replaced by Terser (Uglify was removing the header).
- The build in banner was used instead of the plugin (the plugin was
messing up source maps which now work).
- Some unused dependencies were removed.
  • Loading branch information
Thomaash authored Jan 2, 2020
1 parent 69557ef commit c0fca82
Show file tree
Hide file tree
Showing 4 changed files with 2,170 additions and 1,634 deletions.
7 changes: 2 additions & 5 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"presets": [
["@babel/preset-env", {
"targets": "> 0.1% or not dead"
}]
]
"exclude": ["**/node_modules/**"],
"presets": ["vis-dev-utils/babel-preset"]
}
Loading

0 comments on commit c0fca82

Please sign in to comment.