{"id":15490426,"url":"https://github.com/blaugold/webpack-node-server-plugin","last_synced_at":"2025-03-28T16:27:43.331Z","repository":{"id":89742044,"uuid":"73526687","full_name":"blaugold/webpack-node-server-plugin","owner":"blaugold","description":null,"archived":false,"fork":false,"pushed_at":"2018-04-26T19:46:16.000Z","size":166,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-19T09:17:56.877Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/blaugold.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2016-11-12T02:29:02.000Z","updated_at":"2018-05-09T12:04:06.000Z","dependencies_parsed_at":"2023-04-18T08:47:46.013Z","dependency_job_id":null,"html_url":"https://github.com/blaugold/webpack-node-server-plugin","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"55fe6c2185f675f1ef84dd0ff296914ea62232bd"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blaugold%2Fwebpack-node-server-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blaugold%2Fwebpack-node-server-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blaugold%2Fwebpack-node-server-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blaugold%2Fwebpack-node-server-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blaugold","download_url":"https://codeload.github.com/blaugold/webpack-node-server-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246061797,"owners_count":20717505,"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-10-02T07:21:11.300Z","updated_at":"2025-03-28T16:27:43.300Z","avatar_url":"https://github.com/blaugold.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Webpack Node Server Plugin\nWebpack plugin which restarts node script with every compilation.\n\n## Install\n```bash\nnpm i -D webpack-node-server-plugin\n```\n\n## Usage\n\nImport the plugin trough `import` syntax:\n\n```javascript\nimport { NodeServerPlugin } from 'webpack-node-server-plugin'\n```\n\nOr through `require`:\n\n```javascript\nconst NodeServerPlugin = require('webpack-node-server-plugin').NodeServerPlugin;\n```\n\nAnd add it to your webpack config:\n\n```javascript\nmodule.exports = {\n    target: 'node',\n    entry: './server.js',\n    output: {\n        path: '.tmp/dev',\n        filename: '[name].bundle.js'\n    },\n    resolve: {\n        extensions: ['.js']\n    },\n    plugins: [\n        new NodeServerPlugin()\n    ]\n}\n```\n\nPer default the first `entry` with the extension `.js` is used when starting the server.\n\n## Config\n\nLook at [`NodeServerPluginConfig`](src/config.ts) for config options.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblaugold%2Fwebpack-node-server-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblaugold%2Fwebpack-node-server-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblaugold%2Fwebpack-node-server-plugin/lists"}