mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 07:13:08 +02:00
13 lines
298 B
TypeScript
13 lines
298 B
TypeScript
/**
|
|
* Constant Replacer
|
|
*/
|
|
|
|
import * as webpack from 'webpack';
|
|
|
|
import version from '../../src/version';
|
|
const constants = require('../../src/const.json');
|
|
|
|
export default () => new webpack.DefinePlugin({
|
|
VERSION: JSON.stringify(version),
|
|
THEME_COLOR: JSON.stringify(constants.themeColor)
|
|
});
|