diff --git a/app/.eslintrc.js b/app/.eslintrc.js index 3868f69..6a078b8 100644 --- a/app/.eslintrc.js +++ b/app/.eslintrc.js @@ -10,9 +10,5 @@ module.exports = { extends: 'vuetify', // add your custom rules here rules: { - }, - globals: { - __BUILD_TIME__: 'readonly', - __COMMIT_HASH__: 'readonly', } } diff --git a/app/vue.config.js b/app/vue.config.js index d7e4323..fc6599d 100644 --- a/app/vue.config.js +++ b/app/vue.config.js @@ -12,13 +12,6 @@ const buildInfo = { buildTime: JSON.stringify(new Date().getTime() / 1000 | 0), } -/* -const appVersionVue = new webpack.DefinePlugin({ - __COMMIT_HASH__: buildInfo.commitHash, - __BUILD_TIME__: buildInfo.buildTime, -}) -*/ - const appVersionJson = new VersionFile({ output: '../data/dist/version.json', template: './version.ejs', @@ -79,7 +72,6 @@ module.exports = { deleteOriginalAssets: true, }), // add version info - // appVersionVue, appVersionJson, ], } @@ -88,7 +80,6 @@ module.exports = { return { plugins: [ // add version info - // appVersionVue, appVersionJson, ], }