Skip to content

Spike: replace snowpack #1412

@pascalwilbrink

Description

@pascalwilbrink

At the moment we are using multiple tools for handling monorepos Nx and lerna, also development for the buildtool snowpack has stopped in 2022 and it does not receive updates anymore

  • Check if we need all mentioned tools and if the build process can be simplified
  • Look for alternatives to snowpack (vite?) and how much effort it would be to replace snowpack
  • Discuss scenario's with open source community
  • Create stories

Possible scenario (if needed, to be copied over in new issue:
With the new version of Lit (2.2.7), we can start using rollup as a bundler. Snowpack is not supported any longer.
Example:

https://github.com/openscd/open-scd-core

Todo:
Migrate to Rollup
- Remove Snowpack
- Create rollup configuration
- Start using web-dev-server (dependency)
- npm start should still work with the index.html

Acceptance criteria:

  • No usage of Snowpack any longer
  • Build output should keep the hierarchy / directory tree (tree shaking is nog possible in order to load plug-in dynamicly)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions