From 9a3ba39076755f60a007875ca493553fc1a13dfb Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sat, 4 May 2019 17:05:08 +0200 Subject: [PATCH] get extension version from manifest.json instead of package.json --- package.json | 2 +- webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0fc0ff0..8287fde 100644 --- a/package.json +++ b/package.json @@ -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 ", "scripts": { diff --git a/webpack.config.js b/webpack.config.js index cfe93fc..67c6b5f 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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'";