mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2024-11-19 19:56:26 +01:00
14 lines
329 B
TypeScript
14 lines
329 B
TypeScript
/**
|
|
* Constant Replacer
|
|
*/
|
|
|
|
import * as webpack from 'webpack';
|
|
|
|
import version from '../../src/version';
|
|
const constants = require('../../src/const.json');
|
|
|
|
export default lang => new webpack.DefinePlugin({
|
|
VERSION: JSON.stringify(version),
|
|
LANG: JSON.stringify(lang),
|
|
THEME_COLOR: JSON.stringify(constants.themeColor)
|
|
});
|