mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 20:49:06 +01:00
14 lines
298 B
TypeScript
14 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)
|
|
});
|