hff-entry-forms/web/vue.config.js

8 lines
222 B
JavaScript
Raw Permalink Normal View History

const fs = require('fs');
process.env.VUE_APP_HFF_ENTRY_FORMS_VERSION = require('./package.json').version;
process.env.VUE_APP_HFF_ENTRY_FORMS_GIT_HASH = JSON.stringify(
require('git-describe').gitDescribeSync('.')
);