niViz

niViz Git Source Tree

Root/webpack.config.js

1'use strict';
2
3const webpack = require('webpack'), path = require('path');
4
5let config = {
6 entry: {
7 niviz: [
8 './lib/niviz.js'
9 ]
10 },
11
12 plugins: [
13 // Minify assets.
14 new webpack.optimize.UglifyJsPlugin({
15 compress: {
16 warnings: false // https://github.com/webpack/webpack/issues/1496
17 }
18 })
19 ],
20
21 output: {
22 path: path.resolve(__dirname, 'dist/lib'),
23 filename: 'niviz-bundle-latest.js'
24 },
25};
26
27module.exports = config;

Archive Download this file

Branches