// Runtime+compiler CommonJS build

/* jshint node: true */
'use strict';
var path = require('path');
var webpack = require('webpack');
var config = {
  target: 'node',
  mode: 'development',
  entry: './src/platforms/web/entry-runtime-with-compiler.js',
  resolve: {
    modules: ['/usr/lib/nodejs', '/usr/share/nodejs', './src', './src/platforms'],
  },
  resolveLoader: {
    modules: ['/usr/lib/nodejs', '/usr/share/nodejs'],
  },
  output: {
    path: path.resolve(__dirname, '../dist'),
    filename: 'vue.common.js'
  },
  module: { rules: [ { use: [ 'babel-loader' ] } ] }
};
module.exports = config;
