meteor / meteor/meteor

[Meteor 3] Very slow namespace imports when at least two in same module

Open
#12,693 3 comments 0 reactions 1 assignee Claimed by @zodern View on GitHub
idle Project:Modules
Dominant language
JavaScript
Stars
44.8k
Forks
5.2k
Avg merge
3d 12h
Merged PRs (30d)
25

Description

In Meteor 3, this code is very slow on the client (it probably takes at least 20 seconds to finish). I didn't check how it performs on Meteor 2.

```js
import * as R from 'react';
import * as a from '@mui/icons-material';
```

Having either one of the two imports is fine. The problem only happens when there are both.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.