diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2021-03-04 18:40:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-04 18:40:53 +0100 |
| commit | e84a86d4ac0caf29d6074728376ff0a594243fec (patch) | |
| tree | 888c79ed0094ba2916a1d329861a85515959913c /electron/.electron-vue/webpack.web.config.js | |
| parent | b39575a50191307b3b56eab6455626398eec6397 (diff) | |
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 <rumpeltux-github@irgendwo.org>
Co-authored-by: Lex Neva <github.com@lexneva.name>
Diffstat (limited to 'electron/.electron-vue/webpack.web.config.js')
| -rw-r--r-- | electron/.electron-vue/webpack.web.config.js | 18 |
1 files changed, 12 insertions, 6 deletions
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, |
