daily pastebin goal
8%
SHARE
TWEET

Untitled

a guest Jan 29th, 2018 106 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  var path = require('path');
  2.  var webpack = require('webpack');
  3.  
  4.  module.exports = {
  5.      entry: './js/main.js',
  6.      output: {
  7.          path: path.resolve(__dirname, 'build'),
  8.          filename: 'main.bundle.js'
  9.      },
  10.      module: {
  11.          loaders: [
  12.              {
  13.                  test: /\.js$/,
  14.                  loader: 'babel-loader',
  15.                  query: {
  16.                      presets: ['es2015']
  17.                  }
  18.              }
  19.          ]
  20.      },
  21.      stats: {
  22.          colors: true
  23.      },
  24.      devtool: 'source-map'
  25.  };
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top