VideoPlayer icon indicating copy to clipboard operation
VideoPlayer copied to clipboard

process is undefined

Open beipiaoyu2011 opened this issue 5 years ago • 1 comments

solution:

webpack.renderer.config.js and webpack.web.config.js:

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, removeComments: true }, nodeModules: false }),

beipiaoyu2011 avatar Sep 24 '20 06:09 beipiaoyu2011

感谢

orangemio avatar Oct 21 '20 04:10 orangemio