Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed compiling, don't include bundle in git

  • Loading branch information...
commit ee1ef79d7143997c203ce80e4aa5dc9421597bfd 1 parent fd69576
@sokra sokra authored
View
1  .gitignore
@@ -1 +1,2 @@
node_modules
+/client/live.bundle.js
View
1  .npmignore
@@ -0,0 +1 @@
+node_modules
View
13,598 client/live.bundle.js
0 additions, 13,598 deletions not shown
View
8 client/webpack.config.js
@@ -0,0 +1,8 @@
+module.exports = {
+ module: {
+ loaders: [
+ { test: /\.css$/, loader: "style!css" },
+ { test: /\.jade$/, loader: "jade" }
+ ]
+ }
+}
View
5 package.json
@@ -6,6 +6,9 @@
"dependencies": {
"webpack-dev-middleware": "0.9.x",
"webpack": "0.9.x",
+ "css-loader": "0.5.x",
+ "style-loader": "0.5.x",
+ "jade-loader": "0.5.x",
"express": "3.1.x",
"socket.io": "0.9.x",
"optimist": "0.3.x",
@@ -21,6 +24,6 @@
"main": "lib/Server.js",
"bin": "bin/webpack-dev-server.js",
"scripts": {
- "prepublish": "webpack ./client/live.js client/live.bundle.js --colors"
+ "prepublish": "webpack ./client/live.js client/live.bundle.js --colors --config client/webpack.config.js"
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.