Skip to content

--sourcemap flag does not generate sourcemaps #482

Description

@MannyAdumbire

Describe the bug

I'm no longer about to get sourcemaps when using the --sourcemap flag.
This used to work ( last year) - 10up-toolkit build --sourcemap

The only thing that works now for our project is adding "sourcemap": true, as described here https://github.com/10up/10up-toolkit/blob/develop/packages/toolkit/README.md#production-sourcemaps. That's not ideals because we only want the sourcemap for development builds.

Thanks for any advice!

Steps to Reproduce

Run from within WordPress project, run 10up-toolkit build --sourcemap.

Screenshots, screen recording, code snippet

No response

Environment information

No response

WordPress information

wp-core

version: 6.9

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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