mirror of
https://github.com/iv-org/videojs-quality-selector.git
synced 2024-11-23 05:39:44 +00: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: {
|
dist: {
|
||||||
base: path.join(__dirname, 'dist'),
|
base: path.join(__dirname, 'dist'),
|
||||||
|
jsFileName: 'silvermine-videojs-quality-selector',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
config.dist.js = {
|
config.dist.js = {
|
||||||
bundle: path.join(config.dist.base, 'js', '<%= pkg.name %>.js'),
|
bundle: path.join(config.dist.base, 'js', '<%= config.dist.jsFileName %>.js'),
|
||||||
minified: path.join(config.dist.base, 'js', '<%= pkg.name %>.min.js'),
|
minified: path.join(config.dist.base, 'js', '<%= config.dist.jsFileName %>.min.js'),
|
||||||
};
|
};
|
||||||
|
|
||||||
config.dist.css = {
|
config.dist.css = {
|
||||||
|
Loading…
Reference in New Issue
Block a user