signageOS webpack plugin which allows debugging signageOS application in the browser environment locally
npm install @signageos/webpack-plugin @signageos/front-display --save-dev
@signageos/front-display
is peer dependency of webpack plugin.
const webpack = require('webpack');
const SignageOSPlugin = require('@signageos/webpack-plugin')
exports = module.exports = {
// ...
plugins: [
// ...
new SignageOSPlugin({
port: 8083, // default 8090
publicUrl: 'http://192.168.1.113:8083', // default http://localhost:8090
appletPort: 8091, // default 8091
appletPublicUrl: 'http://192.168.1.113:8084', // default http://localhost:8091
}),
],
};
Clone the repository and install dev dependencies
git clone git@github.com:signageos/webpack-plugin.git # or https://github.com/signageos/webpack-plugin.git
npm install