Merge pull request #152 from slopjong/hotfix/version-removed-from-dist-files
Removed version from dist file names. Fixes #150.
This commit is contained in:
commit
4b3b057838
@ -21,8 +21,8 @@ module.exports = function (grunt) {
|
|||||||
},
|
},
|
||||||
min: {
|
min: {
|
||||||
files: {
|
files: {
|
||||||
'min/perfect-scrollbar-<%= version %>.min.js': ['src/perfect-scrollbar.js'],
|
'min/perfect-scrollbar.min.js': ['src/perfect-scrollbar.js'],
|
||||||
'min/perfect-scrollbar-<%= version %>.with-mousewheel.min.js': [
|
'min/perfect-scrollbar.with-mousewheel.min.js': [
|
||||||
'src/perfect-scrollbar.js',
|
'src/perfect-scrollbar.js',
|
||||||
'src/jquery.mousewheel.js'
|
'src/jquery.mousewheel.js'
|
||||||
]
|
]
|
||||||
@ -61,7 +61,7 @@ module.exports = function (grunt) {
|
|||||||
cwd: 'src/',
|
cwd: 'src/',
|
||||||
src: ['perfect-scrollbar.css'],
|
src: ['perfect-scrollbar.css'],
|
||||||
dest: 'min/',
|
dest: 'min/',
|
||||||
ext: '-<%= version %>.min.css'
|
ext: '.min.css'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
],
|
],
|
||||||
"description": "Tiny but perfect jQuery scrollbar plugin",
|
"description": "Tiny but perfect jQuery scrollbar plugin",
|
||||||
"main": [
|
"main": [
|
||||||
"min/perfect-scrollbar-0.4.10.min.css",
|
"min/perfect-scrollbar.min.css",
|
||||||
"min/perfect-scrollbar-0.4.10.min.js",
|
"min/perfect-scrollbar.min.js",
|
||||||
"min/perfect-scrollbar-0.4.10.with-mousewheel.min.js"
|
"min/perfect-scrollbar.with-mousewheel.min.js"
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"ignore": [
|
"ignore": [
|
||||||
|
Loading…
Reference in New Issue
Block a user