Skip to content

Use preact and preact-router from source instead of dist #636

@prateekbh

Description

@prateekbh

Do you want to request a feature or report a bug?
Bug

What is the current behaviour?
We use preact and preact-router from their dist folder on npm

What is the expected behaviour?
Since we transpile node_modules ourselves we should be using preact and preact_router from their source. This will have no affect on the regular bundles but will have some saving on the module bundle generated.

If this is a feature request, what is motivation or use case for changing the behaviour?
Web perf

Please mention other relevant information.

  • Node version: any
  • npm version: any
  • Operating system: any
  • CLI version: next
  • Browser: any

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions