2015-08-15 01:28:21 +00:00
|
|
|
/**
|
|
|
|
* dat-gui JavaScript Controller Library
|
|
|
|
* http://code.google.com/p/dat-gui
|
|
|
|
*
|
|
|
|
* Copyright 2011 Data Arts Team, Google Creative Lab
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*/
|
|
|
|
|
2015-08-14 16:30:03 +00:00
|
|
|
var extend = require('extend'),
|
|
|
|
webpack = require('webpack'),
|
|
|
|
webpackConfig = require('./webpack.config');
|
|
|
|
|
|
|
|
var config = {
|
|
|
|
plugins: [
|
2015-08-15 01:28:21 +00:00
|
|
|
new webpack.optimize.UglifyJsPlugin({
|
|
|
|
minimize: true,
|
|
|
|
comments: false
|
|
|
|
})
|
2015-08-14 16:30:03 +00:00
|
|
|
],
|
|
|
|
|
|
|
|
output: {
|
|
|
|
filename: 'dat.gui.min.js'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = extend(true, webpackConfig, config);
|