commit | author | age | ||
4de50d | 1 | var path = require('path'); |
EC | 2 | |
3 | module.exports = { | |
6f922e | 4 | entry: [ |
SE | 5 | 'webpack/hot/dev-server', |
6 | 'webpack-dev-server/client?http://localhost:8080', | |
7 | path.resolve(__dirname, 'example.js') | |
8 | ], | |
4de50d | 9 | |
6f922e | 10 | output: { |
SE | 11 | path: path.resolve(__dirname, '.'), |
12 | filename: 'bundle.js' | |
13 | } | |
14 | }; |