Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.

tsickle only has a devDependency on google-closure-compiler, but the binary depends on it #153

@jjudd

Description

@jjudd

As the title mentions, google-closure-compiler is in the devDependencies section of package.json. However, the binary supplied by main.ts requires google-closure-compiler. As a result, unless you have google-closure-compiler installed, tsickle fails to run.

For example:

Error: Cannot find module 'google-closure-compiler'

To resolve this, google-closure-compiler should probably move to peerDependencies or dependencies. Alternatively, the cli could be split into its own module, as suggested in #137.

Thoughts?

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