Skip to content

Commit

Permalink
♻️ refactor(client): Abstract away polyfills.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed May 13, 2024
1 parent a56412f commit 10b2fad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/main.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// eslint-disable-next-line import/no-unassigned-import
import 'regenerator-runtime/runtime.js';
// eslint-disable-next-line import/order, import/no-unassigned-import
import './polyfill';

import React, {StrictMode} from 'react';

import {Meteor} from 'meteor/meteor';
Expand Down
2 changes: 2 additions & 0 deletions client/polyfill.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// eslint-disable-next-line import/no-unassigned-import
import 'regenerator-runtime/runtime.js';

0 comments on commit 10b2fad

Please sign in to comment.