Skip to content
This repository has been archived by the owner on Aug 1, 2021. It is now read-only.

Commit

Permalink
#21 skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonLi8 committed Jan 10, 2020
1 parent 47f3ef9 commit 4682a4b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 } );

/**
Expand Down
23 changes: 23 additions & 0 deletions src/Builder.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// Copyright © 2020 Brandon Li. All rights reserved.

/**
* Build encapsulation that minifies, mangles, requirejs optimizes?, ...etc.
*
* @author Brandon Li <[email protected]>
*/

module.exports = ( () => {
'use strict';

// modules
const terser = require( 'terser' );
const path = require( 'path' );
const Util = require( './Util' );

class Builder {


}

return Builder;
} )();

0 comments on commit 4682a4b

Please sign in to comment.