Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Commit

Permalink
Replaced webpack-service with webpack-wrapper.
Browse files Browse the repository at this point in the history
Re #19
  • Loading branch information
markfinger committed May 15, 2015
1 parent 639fe00 commit 4c4f75f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
};
```
Expand Down
4 changes: 2 additions & 2 deletions example/host.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var webpackService = require('webpack-service');
var webpackWrapper = require('webpack-wrapper');

module.exports = {
functions: {
webpack: webpackService
webpack: webpackWrapper
}
};
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
4 changes: 2 additions & 2 deletions tests/host.config.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"dependencies": {
"js-host": "^0.11.3",
"webpack": "^1.8.8",
"webpack-service": "^0.1.1"
"webpack-wrapper": "^0.2.2"
}
}

0 comments on commit 4c4f75f

Please sign in to comment.