Charles Dick 48d3cd7d26 Pull aggrow from facebookincubator/tracery-prerelease
Reviewed By: bnham

Differential Revision: D4250937

fbshipit-source-id: b5f2cfdeb06c04399670e463b8b2498e2fe0074b
2016-11-30 12:58:35 -08:00

30 lines
586 B
JavaScript

const webpack = require('webpack');
module.exports = {
devtool: 'inline-source-map',
entry: './src/heapCapture.js',
resolve: {
extensions: ["", ".js", ".jsx"],
},
module: {
loaders: [
{
test: /\.jsx?$/,
include: /\/src\//,
loader: 'babel-loader',
query: {
presets: [ 'react', 'es2015' ],
plugins: [ 'transform-class-properties' ]
},
},
],
},
plugins: [
new webpack.BannerPlugin('\n// @generated\n', { raw: true }),
],
output: {
path: './',
filename: 'bundle.js',
},
};