Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
aeed64d1
Commit
aeed64d1
authored
11 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Gruntfile.js: Move common uglify properties together.
parent
9cf9f6c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Gruntfile.js
+6
-6
Gruntfile.js
with
6 additions
and
6 deletions
+6
-6
Gruntfile.js
+
6
-
6
View file @
aeed64d1
...
@@ -112,18 +112,19 @@ module.exports = function (grunt) {
...
@@ -112,18 +112,19 @@ module.exports = function (grunt) {
},
},
uglify
:
{
uglify
:
{
options
:
{
report
:
'
min
'
},
bootstrap
:
{
bootstrap
:
{
options
:
{
options
:
{
banner
:
'
<%= banner %>
'
,
banner
:
'
<%= banner %>
'
report
:
'
min
'
},
},
src
:
'
<%= concat.bootstrap.dest %>
'
,
src
:
'
<%= concat.bootstrap.dest %>
'
,
dest
:
'
dist/js/<%= pkg.name %>.min.js
'
dest
:
'
dist/js/<%= pkg.name %>.min.js
'
},
},
customize
:
{
customize
:
{
options
:
{
options
:
{
preserveComments
:
'
some
'
,
preserveComments
:
'
some
'
report
:
'
min
'
},
},
src
:
[
src
:
[
'
docs/assets/js/vendor/less.min.js
'
,
'
docs/assets/js/vendor/less.min.js
'
,
...
@@ -138,8 +139,7 @@ module.exports = function (grunt) {
...
@@ -138,8 +139,7 @@ module.exports = function (grunt) {
},
},
docsJs
:
{
docsJs
:
{
options
:
{
options
:
{
preserveComments
:
'
some
'
,
preserveComments
:
'
some
'
report
:
'
min
'
},
},
src
:
[
src
:
[
'
docs/assets/js/vendor/holder.js
'
,
'
docs/assets/js/vendor/holder.js
'
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment