From e84a86d4ac0caf29d6074728376ff0a594243fec Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Thu, 4 Mar 2021 18:40:53 +0100 Subject: Update for Inkscape 1.0 (#880) * update for inkscape 1.0 * add about extension * Build improvements for the inkscape1.0 branch (#985) * zip: export real svg not stitch plan * #411 and #726 * Tools for Font Creators (#1018) * ignore very small holes in fills * remove embroider (#1026) * auto_fill: ignore shrink_or_grow if result is empty (#589) * break apart: do not ignore small fills Co-authored-by: Hagen Fritsch Co-authored-by: Lex Neva --- electron/.electron-vue/webpack.web.config.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'electron/.electron-vue/webpack.web.config.js') diff --git a/electron/.electron-vue/webpack.web.config.js b/electron/.electron-vue/webpack.web.config.js index 913518a2..50a73df6 100644 --- a/electron/.electron-vue/webpack.web.config.js +++ b/electron/.electron-vue/webpack.web.config.js @@ -77,12 +77,6 @@ let webConfig = { 'css-loader', { loader: 'sass-loader', - // Requires sass-loader@^7.0.0 - options: { - implementation: require('sass'), - fiber: require('fibers'), - indentedSyntax: true // optional - }, // Requires sass-loader@^8.0.0 options: { implementation: require('sass'), @@ -102,6 +96,18 @@ let webConfig = { new HtmlWebpackPlugin({ filename: 'index.html', template: path.resolve(__dirname, '../src/index.ejs'), + templateParameters(compilation, assets, options) { + return { + compilation: compilation, + webpack: compilation.getStats().toJson(), + webpackConfig: compilation.options, + htmlWebpackPlugin: { + files: assets, + options: options + }, + process + } + }, minify: { collapseWhitespace: true, removeAttributeQuotes: true, -- cgit v1.2.3