mirror of
https://github.com/videojs/video.js.git
synced 2024-12-14 11:23:30 +02:00
Merge pull request #2088 from mmcc/add-scss-to-dist
Added scss files to dist folder
This commit is contained in:
commit
f7b1492332
@ -87,6 +87,12 @@ module.exports = function(grunt) {
|
||||
{expand: true, cwd: 'build/temp/', src: ['*'], dest: 'dist/'+version.full+'/', filter: 'isFile'} // includes files in path
|
||||
]
|
||||
},
|
||||
scss: {
|
||||
expand: true,
|
||||
cwd: 'src/css',
|
||||
src: ['**/*', '!font/**'],
|
||||
dest: 'build/temp/scss'
|
||||
},
|
||||
fonts: { expand: true, cwd: 'src/css/font/', src: ['*'], dest: 'build/temp/font/', filter: 'isFile' },
|
||||
swf: { src: './node_modules/videojs-swf/dist/video-js.swf', dest: './build/temp/video-js.swf' },
|
||||
novtt: { src: './build/temp/video.js', dest: './build/temp/alt/video.novtt.js' },
|
||||
@ -353,6 +359,7 @@ module.exports = function(grunt) {
|
||||
'cssmin',
|
||||
'copy:fonts',
|
||||
'copy:swf',
|
||||
'copy:scss',
|
||||
'vjslanguages'
|
||||
]);
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
"url": "https://github.com/videojs/video.js.git"
|
||||
},
|
||||
"main": "./dist/video.js",
|
||||
"style": "./dist/video-js.css",
|
||||
"dependencies": {
|
||||
"global": "^4.3.0",
|
||||
"safe-json-parse": "^4.0.0",
|
||||
|
Loading…
Reference in New Issue
Block a user