Source version number from package.json
This commit is contained in:
parent
00cea6f548
commit
72363fd924
|
@ -1,10 +1,11 @@
|
|||
import React from 'react'; // For ANNOUNCEMENT_MESSAGE jsx
|
||||
import { getValues } from '../utils/helpers';
|
||||
import packageJson from '../../package.json';
|
||||
|
||||
export const languages = require('./languages.json');
|
||||
|
||||
// Displays in the footer
|
||||
export const VERSION = '0.3.2 (BETA)';
|
||||
export const VERSION = `${packageJson.version} (BETA)`;
|
||||
export const N_FACTOR = 8192;
|
||||
|
||||
// Displays at the top of the site, make message empty string to remove.
|
||||
|
|
Loading…
Reference in New Issue