Remove banner

Nikita Karamov 2023-01-25 18:46:58 +01:00
parent 9339f36f31
commit a73b0f3f36
No known key found for this signature in database
GPG Key ID: 41D6F71EE78E77CD
3 changed files with 0 additions and 11 deletions

View File

@ -59,7 +59,6 @@
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-unicorn": "^44.0.2",
"postcss": "^8.4.19",
"postcss-banner": "^4.0.1",
"postcss-calc": "^8.2.4",
"postcss-css-variables": "^0.18.0",
"postcss-csso": "^6.0.1",

View File

@ -1,6 +1,3 @@
const package_ = require("./package.json");
const bannerText = `${package_.name} v${package_.version}`;
module.exports = {
map: {
inline: false,
@ -10,10 +7,5 @@ module.exports = {
require("postcss-calc"),
require("autoprefixer"),
require("postcss-csso"),
require("postcss-banner")({
banner: bannerText,
important: true,
inline: true,
}),
],
};

View File

@ -1,6 +1,5 @@
import { defineConfig } from "vite";
import * as path from "node:path";
import package_ from "./package.json";
export default defineConfig({
build: {
@ -19,7 +18,6 @@ export default defineConfig({
if (assetInfo.name === "style.css") return "shareon.min.css";
return assetInfo.name;
},
banner: `/*! ${package_.name} v${package_.version} */`,
},
},
},