Skip to content

source maps are missing content (source files) when using inline optimization setting #717

Description

@thescientist13

Type of Change

  • New Feature Request
  • Documentation / Website
  • Improvement / Suggestion
  • Bug
  • Other (please clarify below)

Summary

The Greenwood website is showing a bunch of 404 warnings in the developer console for the content of the source map files
Screen Shot 2021-09-04 at 1 14 42 PM

We can see the sourcemap file itself needs to have the original source as per its configuration.
Screen Shot 2021-09-04 at 1 15 03 PM

Details

It looks like as part of inline optimization logic, we are adding the original source file to be cleaned up by adding it to scratchFiles.

Since we still need the source files for inline, we should just delete that line. (tests might need to be updated)

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIbugSomething isn't working

    Type

    No fields configured for Bug.

    Projects

    Status
    📋 Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions