{"id":20519912,"url":"https://github.com/jabranr/babel-vs-babel-loader","last_synced_at":"2026-04-18T00:31:07.972Z","repository":{"id":43499682,"uuid":"188336206","full_name":"jabranr/babel-vs-babel-loader","owner":"jabranr","description":"Investigation on babel vs babel-loader output. Experimental repository.","archived":false,"fork":false,"pushed_at":"2023-01-03T22:32:21.000Z","size":4513,"stargazers_count":0,"open_issues_count":25,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T00:17:58.687Z","etag":null,"topics":["babel","babel-loader","commonjs","commonjs-modules","es6","es6-modules","javascript","modules","webpack"],"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/jabranr.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":"2019-05-24T02:08:13.000Z","updated_at":"2020-12-13T14:28:34.000Z","dependencies_parsed_at":"2023-02-01T11:31:48.535Z","dependency_job_id":null,"html_url":"https://github.com/jabranr/babel-vs-babel-loader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jabranr/babel-vs-babel-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabranr%2Fbabel-vs-babel-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabranr%2Fbabel-vs-babel-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabranr%2Fbabel-vs-babel-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabranr%2Fbabel-vs-babel-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jabranr","download_url":"https://codeload.github.com/jabranr/babel-vs-babel-loader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jabranr%2Fbabel-vs-babel-loader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31951218,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["babel","babel-loader","commonjs","commonjs-modules","es6","es6-modules","javascript","modules","webpack"],"created_at":"2024-11-15T22:16:55.926Z","updated_at":"2026-04-18T00:31:07.946Z","avatar_url":"https://github.com/jabranr.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `babel` vs `babel-loader`\nInvestigating output from `babel` and `babel-loader` which is vastly different from each other.\n\n## Objective\nMake a `React` component ready to be published to `npm` as a module. Intended targets are `es6` and `commonjs` modules.\n\n## Usage\n\n### Install dependencies\n\n```\nnpm install\n```\n\n### Start app\n\nRunning following command will start the app and watch for changes.\n\n```\nnpm start\n```\n\nThen you can edit `src/index.js` to try each version of the build such as:\n\n### ES6\n```diff\n- import JoeBloggs from './components/joe-bloggs';\n+ import JoeBloggs from './components/joe-bloggs/dist';\n```\n\n### CommonJS\n```diff\n- import JoeBloggs from './components/joe-bloggs';\n+ import JoeBloggs from './components/joe-bloggs/dist/cjs';\n```\n\n\u003e Please note that any styles will be stripped off in CommonJS version\n\n\nDetails of the issue (now resolved) from this step onwards are [here](https://github.com/jabranr/babel-vs-babel-loader/issues/1)\n\n### Build\n\n```\nnpm run build\n```\n\nThis will output results into `dist/`.\n\n## License\nMIT License\n\n\u0026copy; Jabran Rafique \u0026ndash; 2019","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabranr%2Fbabel-vs-babel-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjabranr%2Fbabel-vs-babel-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjabranr%2Fbabel-vs-babel-loader/lists"}