Remove banner
parent
48e44e25aa
commit
6453f15d70
|
@ -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",
|
||||
|
|
|
@ -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,
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
|
|
@ -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} */`,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue