From 4c4f75fd6c24d444bd27abe06b9425bffa8a7792 Mon Sep 17 00:00:00 2001 From: Mark Finger Date: Fri, 15 May 2015 18:59:23 +1000 Subject: [PATCH] Replaced webpack-service with webpack-wrapper. Re #19 --- README.md | 8 ++++---- example/host.config.js | 4 ++-- example/package.json | 2 +- tests/host.config.js | 4 ++-- tests/package.json | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5417c03..71a8430 100644 --- a/README.md +++ b/README.md @@ -42,18 +42,18 @@ interoperability with JavaScript. Complete its Install webpack's JS dependencies ```bash -npm install --save webpack webpack-service +npm install --save webpack webpack-wrapper ``` -Add webpack-service to the functions definition of your `host.config.js` file +Add webpack-wrapper to the functions definition of your `host.config.js` file ```javascript -var webpackService = require('webpack-service'); +var webpackWrapper = require('webpack-wrapper'); module.exports = { functions: { // ... - webpack: webpackService + webpack: webpackWrapper } }; ``` diff --git a/example/host.config.js b/example/host.config.js index 9cc5195..e60902d 100644 --- a/example/host.config.js +++ b/example/host.config.js @@ -1,7 +1,7 @@ -var webpackService = require('webpack-service'); +var webpackWrapper = require('webpack-wrapper'); module.exports = { functions: { - webpack: webpackService + webpack: webpackWrapper } }; \ No newline at end of file diff --git a/example/package.json b/example/package.json index 6b616c0..30d76f7 100644 --- a/example/package.json +++ b/example/package.json @@ -5,6 +5,6 @@ "jquery": "^2.1.3", "js-host": "^0.11.3", "webpack": "^1.8.8", - "webpack-service": "^0.1.1" + "webpack-wrapper": "^0.2.2" } } diff --git a/tests/host.config.js b/tests/host.config.js index bc79ef0..7954405 100644 --- a/tests/host.config.js +++ b/tests/host.config.js @@ -1,8 +1,8 @@ -var webpackService = require('webpack-service'); +var webpackWrapper = require('webpack-wrapper'); module.exports = { functions: { - webpack: webpackService + webpack: webpackWrapper }, // Ensure that the host and manager shut down immediately when the python // process does diff --git a/tests/package.json b/tests/package.json index 9b318c3..353f9a8 100644 --- a/tests/package.json +++ b/tests/package.json @@ -3,6 +3,6 @@ "dependencies": { "js-host": "^0.11.3", "webpack": "^1.8.8", - "webpack-service": "^0.1.1" + "webpack-wrapper": "^0.2.2" } }