Skip to content

Commit d8e1341

Browse files
author
Stefano Baggio
committed
1 parent a481e55 commit d8e1341

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"gl-select-box": "^1.0.1",
7171
"gl-spikes2d": "^1.0.1",
7272
"gl-surface3d": "^1.2.3",
73+
"ify-loader": "^1.0.3",
7374
"mouse-change": "^1.1.1",
7475
"mouse-wheel": "^1.0.2",
7576
"ndarray": "^1.0.16",
@@ -108,6 +109,7 @@
108109
"through2": "^2.0.0",
109110
"uglify-js": "^2.6.1",
110111
"watchify": "^3.7.0",
112+
"webpack": "^1.13.0",
111113
"xml2js": "^0.4.16"
112114
}
113115
}

webpack.config.js

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
module.exports = {
2+
context: __dirname + "/app",
3+
entry: "./entry",
4+
output: {
5+
path: __dirname + "/dist",
6+
filename: "bundle.js"
7+
},
8+
module: {
9+
loaders: [
10+
// This applies the loader to all of your dependencies,
11+
// and not any of the source files in your project:
12+
{
13+
test: /node_modules/,
14+
loader: 'ify'
15+
}
16+
]
17+
}
18+
};

0 commit comments

Comments
 (0)