mirror of
https://gitea.invidious.io/iv-org/videojs-quality-selector.git
synced 2024-08-15 00:43:13 +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
1 changed files with 3 additions and 2 deletions
|
@ -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…
Reference in a new issue