{"id":13725935,"url":"https://github.com/vigneshshanmugam/optimize-js-plugin","last_synced_at":"2025-04-06T17:13:50.596Z","repository":{"id":48290538,"uuid":"68612512","full_name":"vigneshshanmugam/optimize-js-plugin","owner":"vigneshshanmugam","description":"Webpack plugin to optimize a JavaScript file for faster initial load by wrapping eagerly-invoked functions.","archived":false,"fork":false,"pushed_at":"2021-08-03T04:29:59.000Z","size":19,"stargazers_count":161,"open_issues_count":9,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-30T15:01:36.336Z","etag":null,"topics":["optimize-js","webpack-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vigneshshanmugam.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}},"created_at":"2016-09-19T14:12:22.000Z","updated_at":"2023-12-24T17:51:22.000Z","dependencies_parsed_at":"2022-09-12T15:01:51.966Z","dependency_job_id":null,"html_url":"https://github.com/vigneshshanmugam/optimize-js-plugin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vigneshshanmugam%2Foptimize-js-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vigneshshanmugam%2Foptimize-js-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vigneshshanmugam%2Foptimize-js-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vigneshshanmugam%2Foptimize-js-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vigneshshanmugam","download_url":"https://codeload.github.com/vigneshshanmugam/optimize-js-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247517922,"owners_count":20951719,"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","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":["optimize-js","webpack-plugin"],"created_at":"2024-08-03T01:02:41.881Z","updated_at":"2025-04-06T17:13:50.569Z","avatar_url":"https://github.com/vigneshshanmugam.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# optimize-js-plugin\n\nWebpack plugin that uses [optimize-js](https://github.com/nolanlawson/optimize-js)\n\n[![downloads](https://img.shields.io/npm/dt/optimize-js-plugin.svg)](https://npmjs.org/package/optimize-js-plugin)\n[![version](https://img.shields.io/npm/v/optimize-js-plugin.svg)](https://npmjs.org/package/optimize-js-plugin)\n\nThanks to @nolanlawson for his awesome work.\n\n## Install\n\n```sh\nnpm i --save-dev optimize-js-plugin\n```\n\n## Usage\n\n```js\n// webpack.config.js\nconst OptimizeJsPlugin = require(\"optimize-js-plugin\");\nmodule.exports = {\n  entry: //...,\n  output: //...,\n  plugins: [\n    new webpack.optimize.UglifyJsPlugin(options),\n    new OptimizeJsPlugin({\n        sourceMap: false\n    })\n  ]\n}\n```\n\n### Options\n\nAll options as mentioned [here](https://github.com/nolanlawson/optimize-js#javascript-api)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvigneshshanmugam%2Foptimize-js-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvigneshshanmugam%2Foptimize-js-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvigneshshanmugam%2Foptimize-js-plugin/lists"}