text: var webpack = require('webpack');
  var path = require('path');
  
  module.exports = {
    entry: path.resolve(__dirname, 'app.js'),
    output: {
      path: path.resolve(__dirname),
      filename: 'bundle.js' },
    resolve: {
      extensions: ['', '.js'],
      alias: {
        webworkify: 'webworkify-webpack',
        'mapbox-gl': path.resolve('./node_modules/mapbox-gl/dist/mapbox-gl.js'),
      }
    },
    module: {
      noParse: /node_modules\/mapbox-gl\/dist\/mapbox-gl.js/,
      loaders: [
        {
          test: /\.jsx?$/,
          loader: 'babel',
          exclude: /node_modules/,
          query: {
            presets: ['es2015', 'stage-0']
          }
        },
        {
          test: /\.json$/,
          loader: 'json-loader'
        },
        {
          test: /\.js$/,
          include: path.resolve(__dirname, 'node_modules/webworkify/index.js'),
          loader: 'worker'
        },
        {
          test: /mapbox-gl.+\.js$/,
          loader: 'transform/cacheable?brfs'
        }
      ]
    }
  };