Skip to content

Commit

Permalink
Optimize only main.js, skip all other files
Browse files Browse the repository at this point in the history
The directory does not need to be optimized because only main.js is
loaded by the end user. This saves compilation time for JS/CSS.
  • Loading branch information
ssorallen committed Dec 16, 2013
1 parent 9facd0c commit d070b6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/resources/assets/app.build.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
fileExclusionRegExp: /^\.|spec|tests/,
generateSourceMaps: false,
preserveLicenseComments: false,
skipDirOptimize: true,
modules: [
{
name: 'main',
Expand Down

0 comments on commit d070b6a

Please sign in to comment.