Sitelet https://github.com/ember-cli/ember-cli/issues/9776
Skip to content

Is there a way to prepend a path to source maps? #9776

Description

@st-h

I am deploying my app within an app subfolder on s3 using ember-cli-deploy.

I have set fingerprint.prepend to include the full domain including the /app prefix. This is necessary because the fastboot server is running on the TLD, while the static content from s3 is served from a static. subdomain.

When I look at the source map files, I can see an entry like this: sources":["assets/chunk.94.a2c2096e5ba049dd8909.js"]. Apparently the content in the source map does not contain the app prefix. I currently suspect this is the issue why source maps do not work when deployed, while they work fine if I test a production build locally.

Is there a way to include a prefix to the pathes that are written to the source maps?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions