-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scripts without import/export appear to be duplicated #104
Comments
Amusingly, I think #100 will fix this, because it adds an |
Hmm, I'm having a hard time reproducing this. Can you confirm that the playground link above still works for you? |
Hmm, it seems to be nondeterministic, and possibly failing only with nonshortened Playground link. Try loading that link and shift-reloading once or twice. But definitely still happens sometimes I'm afraid. |
I just realized I may never have explained what the code at the top of the file is: that is the compiled output that you see in the output tab. Currently that is what happens when all of the tabs run through rollup (although in the beta, that will just be what happens when the current tab runs through babel) |
I'm not quite sure what you're referring to. Top of what file? FWIW, I just reproduced this bug by loading the Playground link, and then appending some blank lines at the end of the file. (It didn't reproduce upon reloading anymore.) |
Top of the monacoTabs file. the reason you are seeing two duplicate models is because one of those models is the full bundled output (which happens to be the same if there is only one tab) |
Playground link
As described by @modderme123 in #103 (comment):
I tried adding an
exclude
option tolanguages.typescript.typescriptDefaults.setCompilerOptions
(insrc/components/editor/setupSolid.ts
) but it doesn't seem to fix the problem.I previously wrote:
The text was updated successfully, but these errors were encountered: