diff --git a/Gruntfile.js b/Gruntfile.js index 022566256..e01e5cb93 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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' ]); diff --git a/tasks/style-injection.js b/build/tasks/style-injection.js similarity index 100% rename from tasks/style-injection.js rename to build/tasks/style-injection.js diff --git a/package.json b/package.json index 9c7780413..1d85b9998 100644 --- a/package.json +++ b/package.json @@ -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",