mirror of
https://github.com/videojs/video.js.git
synced 2025-01-13 10:32:26 +02:00
Use .npmignore to package a smaller subset of videojs for distribution. Make sure to include the video-js.less file for the designer to use.
This commit is contained in:
parent
2e26703162
commit
cc5e515360
@ -1,2 +1,3 @@
|
||||
# .npmignore needed so dist dir won't be ignored
|
||||
# https://npmjs.org/doc/developers.html#Keeping-files-out-of-your-package
|
||||
# Exclude everything but the contents of the dist directory.
|
||||
**/*
|
||||
!dist/**
|
||||
|
@ -314,6 +314,8 @@ module.exports = function(grunt) {
|
||||
grunt.file.copy('node_modules/videojs-swf/dist/video-js.swf', 'dist/video-js/video-js.swf');
|
||||
grunt.file.copy('build/demo-files/demo.html', 'dist/video-js/demo.html');
|
||||
grunt.file.copy('build/demo-files/demo.captions.vtt', 'dist/video-js/demo.captions.vtt');
|
||||
grunt.file.copy('src/css/video-js.less', 'dist/video-js/video-js.less');
|
||||
|
||||
|
||||
// Copy over font files
|
||||
grunt.file.recurse('build/files/font', function(absdir, rootdir, subdir, filename) {
|
||||
|
Loading…
Reference in New Issue
Block a user