DEV Community

Discussion on: Setup Phoenix with Svelte+Rollup

koder profile image
Ben Woodward

This was helpful thanks. I found that it's not necessary to create a 'watch' script in package.json. You can just run rollup directly:

  watchers: [
    rollup: [
      cd: Path.expand("../assets", __DIR__)
Enter fullscreen mode Exit fullscreen mode

Just published an Svelte SSR plugin for Phoenix that might be helpful for any readers of this post:

joshnuss profile image
Joshua Nussbaum Author

Very cool package! thanks for sharing.