mirror of
https://github.com/valentineus/iii-client.git
synced 2025-04-28 01:41:25 +03:00
25 lines
540 B
JavaScript
25 lines
540 B
JavaScript
'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']
|
|
}
|
|
}
|
|
}]
|
|
}
|
|
}; |