Skip to content

🐛 Docusaurus plugin does not handle scripts #1617

@Zamiell

Description

@Zamiell

Prerequisites

Reproduction url

n/a

Reproduction access

  • I've made sure the reproduction is publicly accessible

Description of the issue

A Docusaurus config that has this in it:

  scripts: [
    "/js/foo.js",
  ],

Should not report "./static/js/foo.js" as being unused. (Scripts are put into the "static" subdirectory from the project root.)

I won't provide a reproduction in favor of submitting a pull request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions