{"id":15499167,"url":"https://github.com/zodern/minify-js-sourcemaps","last_synced_at":"2025-09-15T20:04:45.675Z","repository":{"id":20358033,"uuid":"89754377","full_name":"zodern/minify-js-sourcemaps","owner":"zodern","description":"Meteor package to minify js and create production sourcemaps","archived":false,"fork":false,"pushed_at":"2024-11-20T18:06:27.000Z","size":109,"stargazers_count":39,"open_issues_count":7,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-22T22:30:22.870Z","etag":null,"topics":["meteor","minify","sourcemaps","uglify"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zodern.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-04-29T00:30:16.000Z","updated_at":"2024-11-20T18:06:31.000Z","dependencies_parsed_at":"2022-08-08T09:30:16.556Z","dependency_job_id":"f0bce06f-c3cf-4d3f-b68e-04e8b723a986","html_url":"https://github.com/zodern/minify-js-sourcemaps","commit_stats":{"total_commits":115,"total_committers":3,"mean_commits":"38.333333333333336","dds":"0.034782608695652195","last_synced_commit":"91b6393ad74aee14a1a7c82527604814c43cba8b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zodern/minify-js-sourcemaps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zodern%2Fminify-js-sourcemaps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zodern%2Fminify-js-sourcemaps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zodern%2Fminify-js-sourcemaps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zodern%2Fminify-js-sourcemaps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zodern","download_url":"https://codeload.github.com/zodern/minify-js-sourcemaps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zodern%2Fminify-js-sourcemaps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275312968,"owners_count":25442564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-15T02:00:09.272Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["meteor","minify","sourcemaps","uglify"],"created_at":"2024-10-02T08:50:20.866Z","updated_at":"2025-09-15T20:04:45.646Z","avatar_url":"https://github.com/zodern.png","language":"JavaScript","readme":"# zodern:standard-minifier-js\n\nFast javascript minifier for Meteor apps that creates source maps\n\nFeatures:\n\n- Creates production source maps\n- Creates source maps for Meteor packages that don't use a compiler\n- Very fast by using the swc minifier, a faster js parser, and disk and memory caches\n- Compatible with Meteor 1.9 and newer. For Meteor 1.4 - 1.5, use `zodern:standard-minifier-js@3.0.0` for production source maps, and for Meteor 1.6 - 1.8 use `zodern:standard-minifier-js@4.1.1`.\n- Generates bundle stats for [bundle-visualizer](https://atmospherejs.com/meteor/bundle-visualizer)\n\nFirst, you need to remove `standard-minifier-js` from your app\n\n```shell\nmeteor remove standard-minifier-js\n```\n\nThen add this package with:\n\n```shell\nmeteor add zodern:standard-minifier-js\n```\n\nIf you want to prevent access to the source maps, you can add the `zodern:hide-production-sourcemaps` package. Source maps include the original content from all of your client files, so you probably want to do this step.\n\n```shell\nmeteor add zodern:hide-production-sourcemaps\n```\n\n## Error tracking\n\nSource maps allow error tracking services to show you better stack traces. I run [Monti APM](https://montiapm.com) which provides an error tracking service and can use your app's source maps with no additional config.\n\nTo use with other error tracking services, you will need to upload the source maps when deploying. The source map is saved in the bundle from `meteor build` at `programs/\u003carch\u003e/\u003cfilename\u003e.js.map`. You will want to upload the source maps for each web arch, and for the dynamic imports for each arch.\n\n## Caches\n\nWhen deploying from CI, you will need to configure the CI to cache at least parts of the `.meteor/local` folder for the minify cache to work. Learn more at [this blog post](https://zodern.me/posts/meteor-local-folder/#caching-in-ci).\n\n## Environment Variables\n\n`DISABLE_CLIENT_STATS` Set to `true` to disable creating the `stats.json` file used by the bundle-visualizer. This can save a few seconds during production builds for large apps.\n\n`METEOR_FASTMINIFIER_CACHE_DEBUG` Set to `true` to view the cache logs\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzodern%2Fminify-js-sourcemaps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzodern%2Fminify-js-sourcemaps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzodern%2Fminify-js-sourcemaps/lists"}