@signageos/webpack-plugin
v1.0.5
Published
Webpack Plugin for emulating sOS JS API in browser
Downloads
240
Readme
signageOS Emulator Webpack Plugin
signageOS webpack plugin which allows debugging signageOS application in the browser environment locally
Installation
npm install @signageos/webpack-plugin @signageos/front-display --save-dev
@signageos/front-display
is peer dependency of webpack plugin.
Usage
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
}),
],
};
Contribution
Clone the repository and install dev dependencies
git clone [email protected]:signageos/webpack-plugin.git # or https://github.com/signageos/webpack-plugin.git
npm install