]>
git.r.bdr.sh - rbdr/serpentity/blob - config/webpack.js
3 const Path
= require('path');
4 const Webpack
= require('webpack');
8 serpentity: './lib/serpentity.js',
9 "serpentity.min": './lib/serpentity.js',
13 path: Path
.resolve(__dirname
, '../dist'),
14 filename: '[name].js',
15 library: 'Serpentity',
23 exclude: /(node_modules|doc)/,
24 loader: 'babel-loader',
35 Path
.resolve(__dirname
, '../lib')
41 context: Path
.resolve(__dirname
, '..'),
44 new Webpack
.optimize
.UglifyJsPlugin({
45 include: /\.min\.js$/,