get extension version from manifest.json instead of package.json
This commit is contained in:
parent
54ae79c320
commit
9a3ba39076
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ultravidify-vue",
|
||||
"version": "1.0.0",
|
||||
"version": "4.0.0-a1",
|
||||
"description": "Ultrawidify but with vue settings and popup",
|
||||
"author": "Tamius Han <tamius.han@gmail.com>",
|
||||
"scripts": {
|
||||
|
@ -78,7 +78,7 @@ const config = {
|
||||
to: 'manifest.json',
|
||||
transform: (content) => {
|
||||
const jsonContent = JSON.parse(content);
|
||||
jsonContent.version = version;
|
||||
// jsonContent.version = version;
|
||||
|
||||
if (config.mode === 'development') {
|
||||
jsonContent['content_security_policy'] = "script-src 'self' 'unsafe-eval'; object-src 'self'";
|
||||
|
Loading…
Reference in New Issue
Block a user