DonJayamanne / typescript-notebook

Run JavaScript and TypeScript in node.js within VS Code notebooks with excellent support for debugging, tensorflowjs visulizations, plotly, danfojs, etc
https://marketplace.visualstudio.com/items?itemName=donjayamanne.typescript-notebook
MIT License
904 stars 39 forks source link

Allow default imports #78

Open SimonMeskens opened 1 year ago

SimonMeskens commented 1 year ago

I am currently using import "esm-hook", which allows importing of ESM modules to just work. I was wondering if it's possible to add a config option, so that I don't have to start each notebook with that piece of code. For example, a bit of code that is run for each notebook. I can then enable this for the workspaces where I use ESM modules.