Skip to content

Commit

Permalink
Align UserScript version to npm version
Browse files Browse the repository at this point in the history
  • Loading branch information
ccjmne committed Aug 10, 2023
1 parent 1534ca6 commit c02bdb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ const path = require('path')

const webpack = require('webpack')

const { version } = require('./package.json')

// The built-in webpack.BannerPlugin somehow doesn't output the banner in production mode.
// See https://github.com/webpack/webpack/issues/6630
// Credit: https://github.com/webpack/webpack-cli/issues/312#issuecomment-732749280
Expand Down Expand Up @@ -55,7 +57,7 @@ module.exports = {
// ==UserScript==
// @name Replace text in Laufzettels
// @namespace http://tampermonkey.net/
// @version 1.0
// @version ${version}
// @author Eric NICOLAS (ccjmne) <ccjmne@gmail.com>
// @match https://backoffice.intern.mercateo.com/prototype.tgui.server/
// @icon https://www.google.com/s2/favicons?sz=64&domain=mercateo.com
Expand Down

0 comments on commit c02bdb2

Please sign in to comment.