Skip to content

Commit

Permalink
😒 chore(dev-deps): Remove useless polyfills and transforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Aug 11, 2020
1 parent 90763fb commit 611ad94
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 25 deletions.
12 changes: 1 addition & 11 deletions doc/manual/usage.md
@@ -1,16 +1,6 @@
# Usage

> :warning: The code needs a ES2015+ polyfill to run (`regeneratorRuntime`),
> for instance [@babel/polyfill](https://babeljs.io/docs/usage/polyfill).
First, require the polyfill at the entry point of your application
```js
require( '@babel/polyfill' ) ;
// or
import '@babel/polyfill' ;
```

Then, import the library where needed
Import the library where needed
```js
const compare = require( '@aureooms/js-compare' ) ;
// or
Expand Down
5 changes: 0 additions & 5 deletions package.json
Expand Up @@ -8,7 +8,6 @@
"test/src/**/*"
],
"require": [
"@babel/polyfill",
"@babel/register"
],
"timeout": "1m"
Expand All @@ -17,9 +16,6 @@
"presets": [
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-proposal-async-generator-functions"
],
"env": {
"development": {
"sourceMaps": "inline"
Expand All @@ -34,7 +30,6 @@
"@aureooms/js-operator": "1.0.2",
"@babel/cli": "7.10.5",
"@babel/core": "7.11.1",
"@babel/polyfill": "7.10.4",
"@babel/preset-env": "7.11.0",
"@babel/register": "7.10.5",
"ava": "3.11.1",
Expand Down
10 changes: 1 addition & 9 deletions yarn.lock
Expand Up @@ -962,14 +962,6 @@
"@babel/helper-create-regexp-features-plugin" "^7.10.4"
"@babel/helper-plugin-utils" "^7.10.4"

"@babel/polyfill@7.10.4":
version "7.10.4"
resolved "https://registry.yarnpkg.com/@babel/polyfill/-/polyfill-7.10.4.tgz#915e5bfe61490ac0199008e35ca9d7d151a8e45a"
integrity sha512-8BYcnVqQ5kMD2HXoHInBH7H1b/uP3KdnwCYXOqFnXqguOyuu443WXusbIUbWEfY3Z0Txk0M1uG/8YuAMhNl6zg==
dependencies:
core-js "^2.6.5"
regenerator-runtime "^0.13.4"

"@babel/preset-env@7.11.0":
version "7.11.0"
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.11.0.tgz#860ee38f2ce17ad60480c2021ba9689393efb796"
Expand Down Expand Up @@ -2281,7 +2273,7 @@ core-js-compat@^3.6.2:
browserslist "^4.8.5"
semver "7.0.0"

core-js@^2.4.0, core-js@^2.6.5:
core-js@^2.4.0:
version "2.6.11"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.11.tgz#38831469f9922bded8ee21c9dc46985e0399308c"
integrity sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg==
Expand Down

0 comments on commit 611ad94

Please sign in to comment.