diff --git a/Gruntfile.js b/Gruntfile.js index 4b97a48..38931a3 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -24,7 +24,7 @@ module.exports = grunt => { //---------------------------------------------------------------------------------------- // Check if a new version of grunt-config is available and print an update notification to prompt the user to update. - const notifier = updateNotifier( { pkg: GRUNT_CONFIG_PACKAGE, updateCheckInterval: 0 } ); + const notifier = updateNotifier( { pkg: GRUNT_CONFIG_PACKAGE, updateCheckInterval: 1000 * 60 * 60 } ); if ( notifier.update && notifier.update.latest !== GRUNT_CONFIG_PACKAGE.version ) notifier.notify( { defer: false } ); /** diff --git a/src/Builder.js b/src/Builder.js new file mode 100644 index 0000000..b144428 --- /dev/null +++ b/src/Builder.js @@ -0,0 +1,23 @@ +// Copyright © 2020 Brandon Li. All rights reserved. + +/** + * Build encapsulation that minifies, mangles, requirejs optimizes?, ...etc. + * + * @author Brandon Li + */ + +module.exports = ( () => { + 'use strict'; + + // modules + const terser = require( 'terser' ); + const path = require( 'path' ); + const Util = require( './Util' ); + + class Builder { + + + } + + return Builder; +} )(); \ No newline at end of file