Skip to content

Typescript is included in the bundle #235

Open
@C-Higgins

Description

@C-Higgins

Describe the bug

One of your dependencies is improperly scoping their dev dependencies, causing typescript to be included in the final bundle of your package.

Steps to Reproduce the Bug or Issue

❯ yarn why typescript 
yarn why v1.22.22
[1/4] 🤔  Why do we have the module "typescript"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "just-types#[email protected]"
info This module exists because "reagraph#reakeys#ctrl-keys#just-types" depends on it.
info Disk size without dependencies: "30.86MB"
info Disk size with unique dependencies: "30.86MB"
info Disk size with transitive dependencies: "30.86MB"
info Number of shared dependencies: 0

Expected behavior

Not include Typescript

Screenshots or Videos

No response

Platform

All

Your Example Website or App

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions