tcc-sejohnson / test-sveltekit-packaging

Someone was confused, so I made this to help: https://discordapp.com/channels/457912077277855764/939868205869072444/971467639329284116

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@delphi/common is the SvelteKit project producing the package we want to import. @delphi/common/package is the package directory (after running npm run package from @delphi/common).

In the root package, we can run npm install --save-dev ./@delphi/common/package, and the package my-test-package (the name given in @delphi/common/package.json) will be available to us in the root package as import MyComponent from 'my-test-package/MyComponent.svelte'.

About

Someone was confused, so I made this to help: https://discordapp.com/channels/457912077277855764/939868205869072444/971467639329284116


Languages

Language:JavaScript 68.6%Language:HTML 21.3%Language:Svelte 10.1%