get extension version from manifest.json instead of package.json

This commit is contained in:
Tamius Han 2019-05-04 17:05:08 +02:00
parent 54ae79c320
commit 9a3ba39076
2 changed files with 2 additions and 2 deletions

View File

@ -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": {

View File

@ -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'";