version shown in file comments

This commit is contained in:
spongycake 2022-02-28 02:19:20 +00:00
parent 38ae94fb47
commit 6ac760279e
3 changed files with 17 additions and 2 deletions

View File

@ -1,3 +1,8 @@
/*!
* @license https://www.gnu.org/licenses/gpl-3.0.en.html GNU General Public License
* @name styles.css by libregaming.org
* @version v0.1.4
*/
/*!**************************************************************************************************!*\
!*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/responsive-nav/responsive-nav.css ***!
\**************************************************************************************************/

View File

@ -1,3 +1,8 @@
/*!
* @license https://www.gnu.org/licenses/gpl-3.0.en.html GNU General Public License
* @name styles.css by libregaming.org
* @version v0.1.4
*/
/*! responsive-nav.js 1.0.39 by @viljamis */
.nav-collapse ul {

View File

@ -1,5 +1,7 @@
// Generated using webpack-cli https://github.com/webpack/webpack-cli
const webpack = require("webpack");
const package = require('./package.json');
const buildVersion = package.version;
const path = require("path");
const HtmlWebpackPlugin = require("html-webpack-plugin");
const MiniCssExtractPlugin = require("mini-css-extract-plugin");
@ -26,7 +28,10 @@ const config = {
new HtmlWebpackPlugin({
template: "src/index.html",
}),
new webpack.BannerPlugin({
banner:
`@license https://www.gnu.org/licenses/gpl-3.0.en.html GNU General Public License \n@name [name][ext] by libregaming.org \n@version v${buildVersion}`
}),
// Add your plugins here
// Learn more about plugins from https://webpack.js.org/configuration/plugins/
],