Skip to content

3th party lib hammer keep referring to .map files when made production build #2713

Closed
@stefanaerts

Description

@stefanaerts

Please provide us with the following information:

OS?

Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)

mac osx

Versions.

Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the result here:
angular-cli: 1.0.0-beta.16
node: 6.5.0
os: darwin x64

Repro steps.

Was this an app that wasn't created using the CLI? What change did you do on your code? etc.
yes

The log given by the failure.

Normally this include a stack trace and some more information.

image

Mention any other details that might be useful.

When i do ng build --target=production --environment=prod

it keeps generating a reference to js.map file for hammer
image

Then when i do a refresh or redirect in the url i get this message:
Failed to parse SourceMap: https://ethnicfoods-b928a.firebaseapp.com/hammer.min.js.map


Thanks! We'll be in touch soon.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions