Skip to content

Commit

Permalink
adjusted webpack options, updated userscript headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Venipa committed Jan 9, 2022
1 parent 5765c9a commit 93b432f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CoubDownload-Bridge-Userscript/dist/coub-bridge.user.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions CoubDownload-Bridge-Userscript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
"repository": "https://github.com/Venipa/coubdl-bridge",
"author": "Venipa",
"license": "MIT",
"userscript": {
"name": "Coub Bridge",
"source": "coub-bridge.user.js"
},
"scripts": {
"dev": "mix watch",
"prod": "mix --production"
Expand Down
2 changes: 1 addition & 1 deletion CoubDownload-Bridge-Userscript/src/banner.template
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ==UserScript==
// @name {{name}}
// @name {{displayName}}
// @namespace {{repository}}
// @copyright 2021, {{name}} ({{repository}})
// @version {{version}}
Expand Down
1 change: 1 addition & 0 deletions CoubDownload-Bridge-Userscript/webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const createHashVersion = () =>
let varContext = {
...pkg,
grant: "none",
displayName: pkg.userscript.name
};
if (isDev) varContext.version = createHashVersion();
bannerContent = replaceVariables(
Expand Down

0 comments on commit 93b432f

Please sign in to comment.