Understanding promises

This commit is contained in:
2017-02-14 00:32:39 -08:00
parent 74146a17ee
commit aa4d767204
8 changed files with 300 additions and 2 deletions

View File

@@ -2,10 +2,13 @@ var path = require('path');
var webpack = require('webpack');
module.exports = {
entry: './js/main.js',
entry: {
app: './js/main.js',
ratefinder: './js/ratefinder.js'
},
output: {
path: path.resolve(__dirname, 'build'),
filename: 'main.bundle.js'
filename: '[name].bundle.js'
},
module: {
loaders: [