#54 clean up code

pull/1/head
Thomas Ballmann 3 years ago
parent 097d38b81f
commit fbfb05cc01

@ -10,9 +10,5 @@ module.exports = {
extends: 'vuetify', extends: 'vuetify',
// add your custom rules here // add your custom rules here
rules: { rules: {
},
globals: {
__BUILD_TIME__: 'readonly',
__COMMIT_HASH__: 'readonly',
} }
} }

@ -12,13 +12,6 @@ const buildInfo = {
buildTime: JSON.stringify(new Date().getTime() / 1000 | 0), 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({ const appVersionJson = new VersionFile({
output: '../data/dist/version.json', output: '../data/dist/version.json',
template: './version.ejs', template: './version.ejs',
@ -79,7 +72,6 @@ module.exports = {
deleteOriginalAssets: true, deleteOriginalAssets: true,
}), }),
// add version info // add version info
// appVersionVue,
appVersionJson, appVersionJson,
], ],
} }
@ -88,7 +80,6 @@ module.exports = {
return { return {
plugins: [ plugins: [
// add version info // add version info
// appVersionVue,
appVersionJson, appVersionJson,
], ],
} }

Loading…
Cancel
Save