{"id":15008146,"url":"https://github.com/bernhardfritz/lua-amalg-webpack-plugin","last_synced_at":"2026-04-02T01:58:41.212Z","repository":{"id":142767939,"uuid":"441736301","full_name":"bernhardfritz/lua-amalg-webpack-plugin","owner":"bernhardfritz","description":"Bundle your Lua scripts with webpack","archived":false,"fork":false,"pushed_at":"2021-12-26T16:21:21.000Z","size":52,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-20T08:44:31.228Z","etag":null,"topics":["lua","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/bernhardfritz.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-25T18:28:15.000Z","updated_at":"2021-12-26T16:24:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed4cc158-74f0-4c97-a42b-fee56a60f098","html_url":"https://github.com/bernhardfritz/lua-amalg-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/bernhardfritz%2Flua-amalg-webpack-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernhardfritz%2Flua-amalg-webpack-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernhardfritz%2Flua-amalg-webpack-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bernhardfritz%2Flua-amalg-webpack-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bernhardfritz","download_url":"https://codeload.github.com/bernhardfritz/lua-amalg-webpack-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243180881,"owners_count":20249385,"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":["lua","webpack"],"created_at":"2024-09-24T19:15:22.370Z","updated_at":"2025-12-26T05:24:52.307Z","avatar_url":"https://github.com/bernhardfritz.png","language":"JavaScript","readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/webpack/webpack\"\u003e\n    \u003cimg width=\"200\" height=\"200\" src=\"https://webpack.js.org/assets/icon-square-big.svg\"\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n# lua-amalg-webpack-plugin\n\nThis plugin uses \u003ca href=\"https://github.com/siffiejoe/lua-amalg\"\u003elua-amalg\u003c/a\u003e to bundle your Lua scripts.\n\n## Getting Started\n\nTo begin, you'll need to install `lua-amalg-webpack-plugin`:\n\n```console\nnpm install --save-dev lua-amalg-webpack-plugin\n```\n\nThen add the plugin to your `webpack` config. For example:\n\n**webpack.config.js**\n\n```js\nconst LuaAmalgWebpackPlugin = require('lua-amalg-webpack-plugin');\n\nmodule.exports = {\n  plugins: [new LuaAmalgWebpackPlugin()],\n};\n```\n\nAnd run `webpack` via your preferred method.\n\n## Options\n\n|              Name               |   Type   |    Default     | Description                                 |\n| :-----------------------------: | :------: | :------------: | :------------------------------------------ |\n|       **[`main`](#main)**       | `String` | `src/main.lua` | Primary entry point to your program.        |\n| **[`outputFile`](#outputFile)** | `String` |  `bundle.lua`  | Concatenate and emit output to single file. |\n\n### `main`\n\nType: `String`\nDefault: `src/main.lua`\n\nPrimary entry point to your program.\n\n```js\nmodule.exports = {\n  plugins: [\n    new LuaAmalgWebpackPlugin({\n      main: 'src/main.lua',\n    }),\n  ],\n};\n```\n\n### `outputFile`\n\nType: `String`\nDefault: `bundle.lua`\n\nConcatenate and emit output to single file.\n\n```js\nmodule.exports = {\n  plugins: [\n    new LuaAmalgWebpackPlugin({\n      outputFile: 'bundle.lua',\n    }),\n  ],\n};\n```\n\n# Examples\n\n* [hello-lua](examples/hello-lua/README.md)\n\n# License\n\n[MIT](./LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernhardfritz%2Flua-amalg-webpack-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbernhardfritz%2Flua-amalg-webpack-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbernhardfritz%2Flua-amalg-webpack-plugin/lists"}