{"id":18718720,"url":"https://github.com/eggheadio/plnkr-bundles","last_synced_at":"2025-11-10T16:30:19.517Z","repository":{"id":81103012,"uuid":"106877149","full_name":"eggheadio/plnkr-bundles","owner":"eggheadio","description":null,"archived":false,"fork":false,"pushed_at":"2017-10-16T19:42:28.000Z","size":988,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T11:12:08.569Z","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":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eggheadio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-10-13T22:01:06.000Z","updated_at":"2017-10-13T22:02:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f3dc0c2-69e7-40d5-9165-48cc9a099aa6","html_url":"https://github.com/eggheadio/plnkr-bundles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggheadio%2Fplnkr-bundles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggheadio%2Fplnkr-bundles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggheadio%2Fplnkr-bundles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eggheadio%2Fplnkr-bundles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eggheadio","download_url":"https://codeload.github.com/eggheadio/plnkr-bundles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239581759,"owners_count":19662960,"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":[],"created_at":"2024-11-07T13:22:47.364Z","updated_at":"2025-11-10T16:30:19.471Z","avatar_url":"https://github.com/eggheadio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to create a Plnkr Bundle\n\n`npm i -g jspm@beta`\n\nFollow these steps to install/build a umd bundle:\n\n1. `jspm install npm:babel-plugin-transform-decorators-legacy`\n2. `jspm build babel-plugin-transform-decorators-legacy babel-plugin-transform-decorators-legacy.js`\n\nThis creates a `babel-plugin-transform-decorators-legacy.js` file:\n\nGit commit and push to master, now you load this file from:\n\n[https://rawgit.com/eggheadio/plnkr-bundles/master/babel-plugin-transform-decorators-legacy.js](https://rawgit.com/eggheadio/plnkr-bundles/master/babel-plugin-transform-decorators-legacy.js)\n\n## Usage:\n```js\nSystemJS.config({\n      map: {\n        \"plugin-babel\": \"https://unpkg.com/systemjs-plugin-babel@0.0.25/plugin-babel.js\",\n        \"systemjs-babel-build\": \"https://unpkg.com/systemjs-plugin-babel@0.0.25/systemjs-babel-browser.js\",\n        \"babel-preset-react\": \"https://rawgit.com/eggheadio/plnkr-bundles/master/babel-preset-react.js\",\n        \"babel-plugin-transform-decorators-legacy\": \"https://rawgit.com/eggheadio/plnkr-bundles/master/babel-plugin-transform-decorators-legacy.js\", \n        \"react\": \"https://unpkg.com/react@16.0.0/umd/react.development.js\",\n        \"react-dom\": \"https://unpkg.com/react-dom@16.0.0/umd/react-dom.development.js\"\n      },\n      \n      transpiler: \"plugin-babel\",\n      meta: {\n        \"*.js\": {\n          esModule: true,\n          babelOptions: {\n            presets: [\"babel-preset-react\"],\n            plugins: [\"babel-plugin-transform-decorators-legacy\"]\n          }\n        }\n      }\n    })\n```\n\n## Live Examples\n\n* mobx [https://plnkr.co/edit/vZa78G8VFtC8ihf2lSFM?p=preview](https://plnkr.co/edit/vZa78G8VFtC8ihf2lSFM?p=preview)\n\n## Why?\nMainly because babel plugins/presets aren't bundled\n\n# ⚠️ Warning⚠️\n\nPlugins/presets/libs that depend on `process.env.FOO` (such as \"babel-plugin-react-app\") will break your browser build. Until\nwe find a workaround/hack for injecting a `process`, just avoid\nthem.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggheadio%2Fplnkr-bundles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feggheadio%2Fplnkr-bundles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feggheadio%2Fplnkr-bundles/lists"}