Mercurial > gemma
changeset 1459:18ddb6935aa6
purgecss ate toast
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 03 Dec 2018 12:42:21 +0100 |
parents | bd2708b38f0e |
children | 3d5aea677345 08036d9f0c67 ccf9fd7ff0bd |
files | client/vue.config.js |
diffstat | 1 files changed, 0 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/client/vue.config.js Mon Dec 03 12:35:36 2018 +0100 +++ b/client/vue.config.js Mon Dec 03 12:42:21 2018 +0100 @@ -1,7 +1,4 @@ const CopyWebpackPlugin = require("copy-webpack-plugin"); -const PurgecssPlugin = require("purgecss-webpack-plugin"); -const glob = require("glob-all"); -const path = require("path"); module.exports = { outputDir: "../web", @@ -13,15 +10,6 @@ .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") - ]) - } - ]); }, css: { loaderOptions: {