text: var path = require('path')
  
  module.exports = {
    entry: {
      app: './src/main.js'
    },
    output: {
      path: path.resolve(__dirname, '../dist/static'),
      publicPath: '/static/',
      filename: '[name].js'
    },
    resolve: {
      extensions: ['', '.js', '.vue'],
      fallback: [path.join(__dirname, '../node_modules')],
      alias: {
        'src': path.resolve(__dirname, '../src')
      }
    },
    resolveLoader: {
      fallback: [path.join(__dirname, '../node_modules')]
    },
    module: {
      preLoaders: [
        {
          test: /\.vue$/,
          loader: 'eslint',
          exclude: /node_modules/
        },
        {
          test: /\.js$/,
          loader: 'eslint',
          exclude: /node_modules/
        }
      ],
      loaders: [
        {
          test: /\.vue$/,
          loader: 'vue'
        },
        {
          test: /\.js$/,
          loader: 'babel',
          exclude: /node_modules/
        },
        {
          test: /\.json$/,
          loader: 'json'
        },
        {
          test: /\.html$/,
          loader: 'vue-html'
        },
        {
          test: /\.(png|jpg|gif|svg)$/,
          loader: 'url',
          query: {
            limit: 10000,
            name: '[name].[ext]?[hash:7]'
          }
        },
        {
          test: /\.css$/,
          loader: "style-loader!css-loader"
        },
        { test: /.(woff(2)?|eot|ttf|svg)(\?[a-z0-9=\.]+)?$/,
          loader: 'url-loader?limit=100000'
        }
      ]
    },
    eslint: {
      formatter: require('eslint-friendly-formatter')
    }
  }
  