diff --git a/public/style.css b/public/style.css index 091e8cb..60fbf92 100644 --- a/public/style.css +++ b/public/style.css @@ -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 ***! \**************************************************************************************************/ diff --git a/public/style.min.css b/public/style.min.css index 39c05c7..8bba548 100644 --- a/public/style.min.css +++ b/public/style.min.css @@ -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 { diff --git a/webpack.config.js b/webpack.config.js index 7aff01a..916b63e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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/ ],