mirror of
https://github.com/valentineus/iii-client.git
synced 2025-12-21 14:13:22 +04:00
Added assembly for the browser
This commit is contained in:
25
webpack.config.js
Normal file
25
webpack.config.js
Normal file
@@ -0,0 +1,25 @@
|
||||
'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']
|
||||
}
|
||||
}
|
||||
}]
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user