ragemp-auto-reload-webpack-plugin
Version:
Webpack plugin that reload the RAGE MP server after compilation
26 lines (17 loc) • 457 B
Markdown
```
npm i ragemp-auto-reload-webpack-plugin --save-dev
```
Define the plugin in your webpack configuration
```js
const { RagempAutoReloadPlugin } = require('ragemp-auto-reload-webpack-plugin')
module.exports = {
// ...
plugins: [new RagempAutoReloadPlugin({serverPath: 'path/to/server.exe'})]
// ...
}
```
*string* `serverPath` - The full path to the server.exe file