Skip to content

bundling custom .js files #13

@Shandelier

Description

@Shandelier

Why the pnpm run dev command doesn't use rollup to bundle custom .js files added to the project?

If this is intended behaviour (not bundling in dev mode), how can I use my custom ~/options/custom.js file in options.html in dev mode?

I confirmed that build:prod work as expected (bundling).

EDIT: My problem is when i open Options in chrome extension in the console i'm getting this error:
"GET chrome-extension://omhjadppniapnjfeehfigoillobaapek/options/custom.js net::ERR_FILE_NOT_FOUND"
because it's not present in dev folder

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions