Skip to content

Commit 0f0bd92

Browse files
Kumar GauravKumar Gaurav
authored andcommitted
preferences ui
1 parent ee5d108 commit 0f0bd92

File tree

11 files changed

+30259
-9603
lines changed

11 files changed

+30259
-9603
lines changed

.electron-vue/webpack.renderer.config.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,18 @@ let rendererConfig = {
130130
removeAttributeQuotes: true,
131131
removeComments: true
132132
},
133+
templateParameters(compilation, assets, options) {
134+
return {
135+
compilation: compilation,
136+
webpack: compilation.getStats().toJson(),
137+
webpackConfig: compilation.options,
138+
htmlWebpackPlugin: {
139+
files: assets,
140+
options: options
141+
},
142+
process,
143+
};
144+
},
133145
nodeModules: process.env.NODE_ENV !== 'production'
134146
? path.resolve(__dirname, '../node_modules')
135147
: false

0 commit comments

Comments
 (0)