mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-02 09:05:08 +00:00
Fix postcss-purgecss dependency
This commit is contained in:
parent
208f7e6445
commit
c2d54cebb5
606
modules/webapp/package-lock.json
generated
606
modules/webapp/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -2,15 +2,17 @@
|
||||
"name": "docspell-css",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"@fortawesome/fontawesome-free": "^5.15.4",
|
||||
"@tailwindcss/forms": "^0.3.4",
|
||||
"autoprefixer": "^10.3.7",
|
||||
"cssnano": "^5.0.8",
|
||||
"flag-icon-css": "^3.5.0",
|
||||
"postcss": "^8.3.11",
|
||||
"postcss-cli": "^9.0.1",
|
||||
"postcss-import": "^14.0.2",
|
||||
"autoprefixer": "^10.3.7",
|
||||
"cssnano": "^5.0.8",
|
||||
"postcss": "^8.3.11",
|
||||
"postcss-purgecss": "^2.0.3",
|
||||
"tailwindcss": "^2.2.17"
|
||||
}
|
||||
}
|
||||
|
@ -13,7 +13,7 @@ const prodPlugins =
|
||||
require('postcss-import'),
|
||||
tailwindcss("./tailwind.config.js"),
|
||||
require("autoprefixer"),
|
||||
require("@fullhuman/postcss-purgecss")({
|
||||
require("postcss-purgecss")({
|
||||
content: [
|
||||
"./src/main/elm/**/*.elm",
|
||||
"./src/main/styles/keep.txt",
|
||||
|
@ -55,7 +55,7 @@ object StylesPlugin extends AutoPlugin {
|
||||
val files = postCss(npx, inDir, outDir, wd, mode, logger) ++
|
||||
copyWebfonts(wd, outDir, logger) ++
|
||||
copyFlags(wd, outDir, logger)
|
||||
logger.info("Styles built")
|
||||
logger.info(s"Styles built at $outDir")
|
||||
files
|
||||
},
|
||||
stylesInstall := {
|
||||
@ -63,7 +63,6 @@ object StylesPlugin extends AutoPlugin {
|
||||
val npm = stylesNpmCommand.value
|
||||
val wd = (LocalRootProject / baseDirectory).value
|
||||
npmInstall(npm, wd, logger)
|
||||
|
||||
}
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user