Skip to content

Allow including some files from node_modules #1347

@Gozala

Description

@Gozala

Is this a feature request or a bug?

I guess this is feature request.

What is the current behavior?

We would like WebExtension authors to install libdweb via npm and then add entries to the manifest to include experimental APIs.

Sadly it becomes impossible to use web-ext build to create an add-on such that it would include experimental APIs from libdweb.

What is the expected or desired behavior?

Following should include path negated in the ignored pattern.

web-ext build --ignore-files '!node_modules/libdweb/src/**'
node --version && npm --version && web-ext --version
v9.3.0
5.5.1
2.7.0

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