Mercurial > gemma
changeset 820:d025e1f5e71d
purgecss behaves unexpected
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 27 Sep 2018 17:58:56 +0200 |
parents | dcad6628a8ee |
children | d32516051d08 |
files | client/vue.config.js |
diffstat | 1 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/client/vue.config.js Thu Sep 27 17:48:01 2018 +0200 +++ b/client/vue.config.js Thu Sep 27 17:58:56 2018 +0200 @@ -1,5 +1,5 @@ const CopyWebpackPlugin = require("copy-webpack-plugin"); -const PurgecssPlugin = require("purgecss-webpack-plugin"); +// const PurgecssPlugin = require("purgecss-webpack-plugin"); const glob = require("glob-all"); const path = require("path"); @@ -13,15 +13,15 @@ .use(CopyWebpackPlugin, [[{ from: vendorImgPath, to: "img" }]], { copyUnmodified: true }); - config.plugin("PurgecssPlugin").use(PurgecssPlugin, [ - { - paths: glob.sync([ - path.join(__dirname, "./src/index.html"), - path.join(__dirname, "./**/*.vue"), - path.join(__dirname, "./src/**/*.js") - ]) - } - ]); + // config.plugin("PurgecssPlugin").use(PurgecssPlugin, [ + // { + // paths: glob.sync([ + // path.join(__dirname, "./src/index.html"), + // path.join(__dirname, "./**/*.vue"), + // path.join(__dirname, "./src/**/*.js") + // ]) + // } + // ]); }, css: { loaderOptions: {