0
mirror of https://github.com/valentineus/iii-client.git synced 2025-04-29 01:51:24 +03:00
iii-client/webpack.config.js

25 lines
540 B
JavaScript
Raw Normal View History

2017-09-28 17:09:43 +04:00
'use strict';
var webpack = require('webpack');
var path = require('path');
module.exports = {
entry: path.resolve(__dirname, 'src/index.js'),
output: {
filename: 'bundle.js',
path: path.resolve(__dirname, 'dist')
},
module: {
rules: [{
test: /\.js$/,
exclude: /(node_modules|bower_components)/,
use: {
loader: 'babel-loader',
options: {
presets: ['es2015']
}
}
}]
}
};