{"id":28972570,"url":"https://github.com/ember-cli/ember-cli-terser","last_synced_at":"2025-08-04T23:12:23.304Z","repository":{"id":26412693,"uuid":"29862763","full_name":"ember-cli/ember-cli-terser","owner":"ember-cli","description":"JavaScript minification for Ember-CLI","archived":false,"fork":false,"pushed_at":"2023-09-27T22:59:01.000Z","size":1261,"stargazers_count":23,"open_issues_count":8,"forks_count":27,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-26T03:04:17.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"adriano-lemos/lemurify","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ember-cli.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"emberjs","open_collective":"emberjs"}},"created_at":"2015-01-26T13:44:48.000Z","updated_at":"2023-03-28T17:30:05.000Z","dependencies_parsed_at":"2025-04-13T09:32:14.330Z","dependency_job_id":"7902ce3a-1658-49c4-8d43-ff6a1ed923dc","html_url":"https://github.com/ember-cli/ember-cli-terser","commit_stats":null,"previous_names":["ember-cli/ember-cli-uglify"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/ember-cli/ember-cli-terser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fember-cli-terser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fember-cli-terser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fember-cli-terser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fember-cli-terser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ember-cli","download_url":"https://codeload.github.com/ember-cli/ember-cli-terser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli%2Fember-cli-terser/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268334568,"owners_count":24233791,"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-08-02T02:00:12.353Z","response_time":74,"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":[],"created_at":"2025-06-24T11:06:58.098Z","updated_at":"2025-08-04T23:12:23.094Z","avatar_url":"https://github.com/ember-cli.png","language":"JavaScript","funding_links":["https://github.com/sponsors/emberjs","https://opencollective.com/emberjs"],"categories":[],"sub_categories":[],"readme":"\nember-cli-terser\n==============================================================================\n\n[![npm](https://img.shields.io/npm/v/ember-cli-terser.svg)](https://www.npmjs.com/package/ember-cli-terser)\n[![Build Status](https://github.com/ember-cli/ember-cli-terser/workflows/CI/badge.svg)](https://github.com/ember-cli/ember-cli-terser/actions?query=workflow%3ACI)\n\n[terser](https://github.com/terser/terser) integration to \n[ember-cli](http://cli.emberjs.com/) to minify your JavaScript.\n\n\nInstallation\n------------------------------------------------------------------------------\n\n```\nember install ember-cli-terser\n```\n\nEmbroider\n------------------------------------------------------------------------------\n\nNote that, `ember-cli-terser` has no effect under \n[Embroider](https://github.com/embroider-build/embroider), as Embroider \nprovides its own minification process based on terser. This means that, apps \nusing Embroider, can safely uninstall `ember-cli-terser`.\n\nUsage\n------------------------------------------------------------------------------\n\nAfter installing `ember-cli-terser` it will automatically hook into the build\npipeline and minify your JS files in production builds.\n\nIf you want to customize how `ember-cli-terser` is running terser under the\nhood you have several configuration options available:\n\n```js\n// ember-cli-build.js\n\nvar app = new EmberApp({\n  'ember-cli-terser': {\n    enabled: true,\n\n    exclude: ['vendor.js'],\n\n    terser: {\n      compress: {\n        sequences: 50,\n      },\n      output: {\n        semicolons: true,\n      },\n    },\n\n    // Tell broccoli-terser-sourcemap to not add sourcemap URLs\n    hiddenSourceMap: true,\n  },\n});\n```\n\n\n### Options\n\n- `enabled?: boolean`: Enables/Disables minification (defaults to `true` for\n  production builds, `false` for development builds)\n\n- `exclude?: string[]`: A list of paths or globs to exclude from minification\n\n- `terser?: TerserOptions`: A hash of [options](https://github.com/terser/terser#minify-options)\n  that are passed directly to terser\n\nIf no `terser` option is passed, a default configuration will be used.\n\nOptions supported by [broccoli-terser-sourcemap](https://github.com/ember-cli/broccoli-terser-sourcemap) may be added as top-level fields.\n\n### Source Maps\n\nSource maps are disabled by default for production builds in Ember CLI. If you\nwant to enable source maps for production builds you can configure that in your\n`ember-cli-build.js` too:\n\n```js\n// ember-cli-build.js\n\nvar app = new EmberApp({\n  sourcemaps: {\n    enabled: true,\n    extensions: ['js'],\n  },\n});\n```\n\n\nLicense\n------------------------------------------------------------------------------\nember-cli-terser is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fember-cli%2Fember-cli-terser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fember-cli%2Fember-cli-terser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fember-cli%2Fember-cli-terser/lists"}