This example starts with the webpack template: http://vuejs-templates.github.io/webpack/
"dev": "node build/dev-server.js"
L3 config = require('../config') - get the configurations
L13 var webpackConfig =... - get the configuration object for webpack
.build & .dev for production and development environment
other configuration files are imported from index.js
configurations
env : environment name
paths, source map, zip, port
L1: require('.utils')
L5: require('./webpack.base.conf')
L10: expands every entry into an array with './build/dev-client'
reload browser upon "reload" event
Basic webpack configurations
L4: vueLoaderConfig = require('./vue-loader.conf')
vue loader options
L11: entry is ./src/main.js
L14: output & publicPath as configured in /config
L21: resolve, alias vue$ as vue.common.js and @ as 'src'
L28: modules - what loader is used for what files