Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import of web-animations-next-lite.min.js breaks source maps generation #195

Open
web-padawan opened this issue Jul 14, 2016 · 0 comments
Open

Comments

@web-padawan
Copy link

web-padawan commented Jul 14, 2016

Description

I try to implement source maps generation for my vulcanized Polymer project using gulp-sourcemaps. But parsing one of source maps in browser is being broken, because I use uglify to process web-animations-next-lite.min.js library code, which has already been minified and contains comments about its original source code.

There is no way to exclude this library from bundle, as I use web-component-shards as a bundling tool, which doesn't have an exclude option yet.

Expected outcome

neon-animated-pages should import unminified version web-animations-next-lite.js here:

<script src="../web-animations-js/web-animations-next-lite.min.js"></script>

So this will be up to user to decide whether this file should be minified or not.

Actual outcome

Failed to parse SourceMap: error in Chrome console.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant