Conversation
|
Can one of the admins verify this patch? |
jonahgraham
left a comment
There was a problem hiding this comment.
This LGTM - but it would be nice if @colin-grant-work can have a look too please.
|
This style of export also doesn't play very nicely with the TypeScript language server. In a dependent, I can write an import for the import { MemoryServer } from 'cdt-gdb-vscode'; // Will workimport { MemoryServer } from 'cdt-gdb-vscode/dist/extension'; // Will workimport { MemoryServer } from 'cdt-gdb-vscode/dist/memory/server/MemoryServer'; // Won't workThe problem is that, when the code is bundled, the generated
with one of the last two including the |
|
@asimgunes please see conversation in #112 also. |
c75b9e4 to
ee38d1d
Compare
|
Hi @jonahgraham, @colin-grant-work, I rebased the request and keep minimum by only adding required type declerations and minor changes in esbuild code, since @colin-grant-work rollback previous changes. Could you please review the changes again? |
jonahgraham
left a comment
There was a problem hiding this comment.
It looks fine to me - but I would appreciate @colin-grant-work's review as he understands this area better.
|
I'll take a look today |
colin-grant-work
left a comment
There was a problem hiding this comment.
The changes look good to me. 👍
|
Nice, this looks good so.. included soon? |
Hi @jonahgraham,
I like to discuss this update as a follow-up changes for previous work at pull-request #96.
In this update:
outfolder extract all the output atdistfolder.Benefits:
cdt-gdb-vscodeeasy to use as a package depedency.outfolder from the build output (Since entry points already changed todistfolder.)I didnot add any script definition for triggering package publishing operation in npm registry, but, after this update, I believe we can publish cdt-gdb-vscode as an npm package and anyone could easily use cdt-gdb-vscode as a dependent package and extend behaviour.
I hope this would create a positive impact for cdt-gdb-vscode.
Kind regards.
Asim