Skip to content

Commit 8a2c2ee

Browse files
committed
organized dependencies, fixed a test
1 parent 12f0e38 commit 8a2c2ee

File tree

2 files changed

+16
-14
lines changed

2 files changed

+16
-14
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "webpack",
3-
"version": "0.8.1",
3+
"version": "0.8.2",
44
"author": "Tobias Koppers @sokra",
55
"description": "Packs CommonJs/AMD Modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loading of js, json, jade, coffee, css, ... out of the box and more with custom loaders.",
66
"dependencies": {
@@ -29,12 +29,12 @@
2929
}
3030
],
3131
"devDependencies": {
32-
"worker-loader": "0.1.x",
33-
"mocha": "1.3.x",
34-
"should": "1.1.x",
32+
"worker-loader": "0.2.x",
33+
"mocha": "1.7.x",
34+
"should": "1.2.x",
3535
"vm-browserify": "0.0.x",
3636
"express": "3.0.x",
37-
"webpack-dev-middleware": "0.5.x"
37+
"webpack-dev-middleware": "0.8.x"
3838
},
3939
"engines": {
4040
"node": ">=0.1.30"

test/browsertest/middlewareTest.js

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@ var app = express();
66

77
app.configure(function() {
88
app.use(webpackMiddleware(path.join(__dirname, "lib", "index"), {
9-
publicPrefix: "http://localhost:8080/js/",
10-
watch: true,
11-
watchDelay: 5000,
12-
debug: true,
13-
output: "web.js",
14-
outputPostfix: ".web.js",
15-
resolve: {
16-
alias: {
17-
vm: "vm-browserify"
9+
webpack: {
10+
publicPrefix: "http://localhost:8080/js/",
11+
watch: true,
12+
watchDelay: 5000,
13+
debug: true,
14+
output: "web.js",
15+
outputPostfix: ".web.js",
16+
resolve: {
17+
alias: {
18+
vm: "vm-browserify"
19+
}
1820
}
1921
}
2022
}));

0 commit comments

Comments
 (0)