1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-09 15:50:53 +00:00
* Added: Synchronize applicable settings to `clips.twitch.tv` pages using an iframe.
* Fixed: Issue with chat replay disappearing on `clips.twitch.tv` pages.
* Changed: Pull the FFZ version number from `package.json`.
This commit is contained in:
SirStendec 2019-06-20 17:14:03 -04:00
parent 04aa1789a2
commit f1c527b721
14 changed files with 314 additions and 23 deletions

View file

@ -1,14 +1,17 @@
const webpack = require('webpack');
const path = require('path');
const semver = require('semver');
const VueLoaderPlugin = require('vue-loader/lib/plugin');
/* global process module __dirname */
const VERSION = semver.parse(require('./package.json').version);
const PRODUCTION = process.env.NODE_ENV === 'production';
module.exports = {
entry: {
bridge: './src/bridge.js',
avalon: './src/main.js'
},
resolve: {
@ -43,7 +46,13 @@ module.exports = {
},
plugins: [
new VueLoaderPlugin(),
new webpack.ExtendedAPIPlugin()
new webpack.ExtendedAPIPlugin(),
new webpack.DefinePlugin({
__version_major__: VERSION.major,
__version_minor__: VERSION.minor,
__version_patch__: VERSION.patch,
__version_prerelease__: VERSION.prerelease
}),
],
module: {
rules: [{