Akryum / meteor-vite

MIT License
34 stars 19 forks source link

Can't import from 'meteor/check', 'meteor/random' - "Identifier has already been declared" #6

Closed red-meadow closed 2 years ago

red-meadow commented 2 years ago

When I try to import from meteor/check, meteor/random etc., there is an error in the console:

Uncaught SyntaxError: Identifier 'check' has already been declared (at check:16:14)

How to reproduce: add this to main.ts

import { check } from 'meteor/check'
console.log(check)

I use Windows.

error1

error2