Skip to content

Commit

Permalink
babel polyfill for sucrase
Browse files Browse the repository at this point in the history
  • Loading branch information
developit committed Sep 12, 2019
1 parent aea5ef4 commit 426ed5a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 57 deletions.
18 changes: 18 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -69,6 +69,7 @@
"license": "MIT",
"author": "Preact Authors <core@preactjs.com>",
"devDependencies": {
"@babel/polyfill": "^7.6.0",
"critters-webpack-plugin": "^2.4.0",
"dlv": "^1.1.3",
"eslint": "^4.9.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/controllers/repl/repl.worker.js
@@ -1,4 +1,4 @@
import './worker-polyfills';
import '@babel/polyfill';
import { transform } from 'sucrase';
import { parseStackTrace } from './errors';

Expand Down
56 changes: 0 additions & 56 deletions src/components/controllers/repl/worker-polyfills.js

This file was deleted.

0 comments on commit 426ed5a

Please sign in to comment.