Skip to content

Bug: Incorrect config usage #5

Description

@pveierland

Thank you for a nice plugin!

There appears to be an issue in the way configurations are referenced in runtimeEnv where envPrefix, needSourceMap, and isDevServer are initialized at the start of the function and then captured by the transform function. When the configResolved function is called, the configuration appears to not propagate correctly to transform.

I'd like to use the envPrefix setting but the current implementation does not seem to allow this.

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