trash-and-fire

Results 44 comments of trash-and-fire

Works only on the client side without prerendering and SSR. It cannot be imported into the nodejs environment until 4.0 is released. I think you can easily adjust this behavior...

4.0 brings some breaking changes, so I will also release 2.0 with some breaking changes. I will remove the chart action and redundant code for it. The package should be...

I forgot about them. You can use `ref` and `ISeriesApi::setMarkers` as a workaround. I will create a declarative API for them. https://svelte.dev/repl/23d6219e055943a89f55c33ab61063b5

Please describe your configuration: bundler, node version, dev server and package manager. I will try to reproduce this problem. My package is not well defined esmodule because it does not...

Ok, I see this warning on my side. You need to add: ``` vite: { ssr: { noExternal: ['lightweight-charts'] } } ``` This will prevent `Cannot use import statement outside...

Try removing `/node_modules/.vite/` folder and restart dev server. If it does not help, give me your `npm list`. I will install exactly the same versions of packages as you.

I've published next beta. Try `npm install svelte-lightweight-charts@next`. Add to your config: ``` vite: { ssr: { noExternal: ['svelte-lightweight-charts', 'lightweight-charts'] } } ``` This version should run without any warnings...

Yes, svelte-kit has had many breaking changes and is currently in a very unstable state. You are correct in moving the ssr section to `vite.config.js`. Try using `svelte-lightweight-charts@next` as described...

I fixed dev mode with this config. ``` import { sveltekit } from '@sveltejs/kit/vite'; /** @type {import('vite').UserConfig} */ const config = { plugins: [sveltekit()], ssr: { noExternal: [ 'svelte-lightweight-charts', 'lightweight-charts',...

Oh, I'm confused with the commands.. Build preview also works.