Skip to content

Exclude src/ from published npm package #3334

Closed
@roblg

Description

@roblg

RxJS version:

At least version 5.5.6

Expected behavior:

src/ folder (in particular, the BUILD.bazel file) is excluded from published npm package.

Actual behavior:

src/ folder including BUILD.bazel file is included in published npm package, and gets picked up by our bazel in node_modules (we're currently using bazel primarily for Java, and not yet for JS for development):

(08:20:56) ERROR: error loading package 'node_modules/rxjs/src': Extension file not found. Unable to load package for '@build_bazel_rules_typescript//:defs.bzl': The repository could not be resolved

Additional information:

Love that you're using bazel in an open source JS project! <3 Bazel.

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