mirror of
https://github.com/iv-org/videojs-quality-selector.git
synced 2025-04-24 17:29:12 -04:00
fix: Revert JS dist file path to dist/js (#31)
In commit 31a305d, we moved this repo to the `@silvermine` org and updated the `name` field in package.json. The Gruntfile uses the name of the package as the name of the JS output file. Therefore, when the package name field changed, so did the JS file output name and path. We no longer depend on the name field in package.json for the name of the JS output file.
This commit is contained in:
parent
031b7be692
commit
96255a1387
@ -28,12 +28,13 @@ module.exports = function(grunt) {
|
||||
|
||||
dist: {
|
||||
base: path.join(__dirname, 'dist'),
|
||||
jsFileName: 'silvermine-videojs-quality-selector',
|
||||
},
|
||||
};
|
||||
|
||||
config.dist.js = {
|
||||
bundle: path.join(config.dist.base, 'js', '<%= pkg.name %>.js'),
|
||||
minified: path.join(config.dist.base, 'js', '<%= pkg.name %>.min.js'),
|
||||
bundle: path.join(config.dist.base, 'js', '<%= config.dist.jsFileName %>.js'),
|
||||
minified: path.join(config.dist.base, 'js', '<%= config.dist.jsFileName %>.min.js'),
|
||||
};
|
||||
|
||||
config.dist.css = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user