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
3dd1531d
Commit
3dd1531d
authored
10 years ago
by
XhmikosR
Browse files
Options
Download
Plain Diff
Merge pull request #13624 from robertdodd/master
Reassigned minification of CSS files to the cssmin task.
parents
e9b99d47
8e354c42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Gruntfile.js
+7
-10
Gruntfile.js
with
7 additions
and
10 deletions
+7
-10
Gruntfile.js
+
7
-
10
View file @
3dd1531d
...
...
@@ -175,15 +175,6 @@ module.exports = function (grunt) {
files
:
{
'
dist/css/<%= pkg.name %>-theme.css
'
:
'
less/theme.less
'
}
},
minify
:
{
options
:
{
cleancss
:
true
},
files
:
{
'
dist/css/<%= pkg.name %>.min.css
'
:
'
dist/css/<%= pkg.name %>.css
'
,
'
dist/css/<%= pkg.name %>-theme.min.css
'
:
'
dist/css/<%= pkg.name %>-theme.css
'
}
}
},
...
...
@@ -239,6 +230,12 @@ module.exports = function (grunt) {
compatibility
:
'
ie8
'
,
keepSpecialComments
:
'
*
'
},
core
:
{
files
:
{
'
dist/css/<%= pkg.name %>.min.css
'
:
'
dist/css/<%= pkg.name %>.css
'
,
'
dist/css/<%= pkg.name %>-theme.min.css
'
:
'
dist/css/<%= pkg.name %>-theme.css
'
,
}
},
docs
:
{
src
:
[
'
docs/assets/css/_src/docs.css
'
,
...
...
@@ -436,7 +433,7 @@ module.exports = function (grunt) {
// CSS distribution task.
grunt
.
registerTask
(
'
less-compile
'
,
[
'
less:compileCore
'
,
'
less:compileTheme
'
]);
grunt
.
registerTask
(
'
dist-css
'
,
[
'
less-compile
'
,
'
autoprefixer
'
,
'
usebanner
'
,
'
csscomb
'
,
'
less:minify
'
,
'
cssmin
'
]);
grunt
.
registerTask
(
'
dist-css
'
,
[
'
less-compile
'
,
'
autoprefixer
'
,
'
usebanner
'
,
'
csscomb
'
,
'
cssmin
'
]);
// Docs distribution task.
grunt
.
registerTask
(
'
dist-docs
'
,
'
copy:docs
'
);
...
...
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