Skip to content

Commit e632674

Browse files
author
Stefano Baggio
committed
1 parent d8e1341 commit e632674

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

webpack.config.js

+11-13
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1+
var webpack = require('webpack'),
2+
path = require('path');
3+
14
module.exports = {
2-
context: __dirname + "/app",
3-
entry: "./entry",
5+
debug: true,
6+
entry: {
7+
main: './lib/index.js'
8+
},
49
output: {
5-
path: __dirname + "/dist",
6-
filename: "bundle.js"
10+
path: path.join(__dirname, 'dist'),
11+
filename: 'my-plotly.js'
712
},
813
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-
]
14+
loaders: []
1715
}
18-
};
16+
};

0 commit comments

Comments
 (0)