Skip to content

generate sourcemap with minified version#225

Open
jbouzekri wants to merge 1 commit intoolivernn:masterfrom
jbouzekri:sourcemap
Open

generate sourcemap with minified version#225
jbouzekri wants to merge 1 commit intoolivernn:masterfrom
jbouzekri:sourcemap

Conversation

@jbouzekri
Copy link
Copy Markdown

UglifyJS supports sourcemap generation. Add sourcemap lunr.map at the root of the directory when generating lunr.min.js

I had to remove the input file to uglifyjs as STDIN because in that case, sourcemap generation is unsupported .
cf : https://github.com/mishoo/UglifyJS2/blob/master/bin/uglifyjs#L301

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

Successfully merging this pull request may close these issues.

1 participant