{"id":14384905,"url":"https://github.com/guybedford/systemjs-webpack-plugin","last_synced_at":"2025-04-09T19:21:22.594Z","repository":{"id":66007720,"uuid":"64395638","full_name":"guybedford/systemjs-webpack-plugin","owner":"guybedford","description":"Webpack bundling for SystemJS","archived":false,"fork":false,"pushed_at":"2016-08-01T15:34:58.000Z","size":12,"stargazers_count":28,"open_issues_count":1,"forks_count":5,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-23T21:11:25.619Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/guybedford.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}},"created_at":"2016-07-28T12:57:13.000Z","updated_at":"2023-07-13T05:52:02.000Z","dependencies_parsed_at":"2024-01-14T20:18:39.978Z","dependency_job_id":"a1a21dc5-9aed-4315-8312-2fabf49e564a","html_url":"https://github.com/guybedford/systemjs-webpack-plugin","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/guybedford%2Fsystemjs-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guybedford%2Fsystemjs-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guybedford%2Fsystemjs-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/guybedford%2Fsystemjs-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/guybedford","download_url":"https://codeload.github.com/guybedford/systemjs-webpack-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248095171,"owners_count":21046803,"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-08-28T18:01:46.213Z","updated_at":"2025-04-09T19:21:22.556Z","avatar_url":"https://github.com/guybedford.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"Webpack SystemJS Registration Plugin\n---\n\nAllows Webpack bundles to register specified public modules into the SystemJS loader registry under custom public names.\n\nAlso supports configuring SystemJS to automatically load Webpack chunks on-demand when `System.import` is called to lazy load modules.\n\n_This is an experimental integration project, without any support guarantees yet._\n\nExample Configuration\n---\n\n```javascript\nvar SystemJSRegisterPublicModules = require('webpack-systemjs-plugin');\n\nmodule.exports = {\n  entry: './main.js',\n  plugins: [\n    new SystemJSRegisterPublicModules({\n      // automatically configure SystemJS to load webpack chunks (defaults to true)\n      bundlesConfigForChunks: true,\n\n      // select which modules to expose as public modules\n      registerModules: [\n        // \"default\" filters provided are \"local\" and \"public\"\n        { filter: 'public' },\n\n        // keyname allows a custom naming system for public modules\n        {\n          filter: 'local',\n          keyname: 'app/[relPath]'\n        },\n\n        // keyname can be a function\n        {\n          filter: 'public',\n          keyname: (module) =\u003e 'publicModule-' + module.id\n        },\n\n        // filter can also be a function\n        {\n          filter: (m) =\u003e m.relPath.match(/src/),\n          keyname: 'random-naming-system-[id]'\n        }\n      ]\n    })\n  ],\n  output: {\n    filename: 'out.js'\n  }\n};\n```\n\n`public` modules are main modules from the node_modules folder.\n\n`local` modules are modules not within node_modules.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguybedford%2Fsystemjs-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguybedford%2Fsystemjs-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguybedford%2Fsystemjs-webpack-plugin/lists"}