mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
31 lines
747 B
JavaScript
31 lines
747 B
JavaScript
/**
|
|
* 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
|
|
*/
|
|
|
|
var extend = require('extend'),
|
|
webpack = require('webpack'),
|
|
webpackConfig = require('./webpack.config');
|
|
|
|
var config = {
|
|
plugins: [
|
|
new webpack.optimize.UglifyJsPlugin({
|
|
minimize: true,
|
|
comments: false
|
|
})
|
|
],
|
|
|
|
output: {
|
|
filename: 'dat.gui.min.js'
|
|
}
|
|
}
|
|
|
|
module.exports = extend(true, webpackConfig, config); |