Skip to content

Commit

Permalink
Merge pull request #33 from jumpserver/dev
Browse files Browse the repository at this point in the history
更新支持cast格式
  • Loading branch information
Halo1236 authored Mar 30, 2022
2 parents f903a12 + f3a3db5 commit 6789446
Show file tree
Hide file tree
Showing 16 changed files with 8,002 additions and 28,258 deletions.
12 changes: 12 additions & 0 deletions .electron-vue/webpack.renderer.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,18 @@ let rendererConfig = {
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,
Expand Down
12 changes: 12 additions & 0 deletions .electron-vue/webpack.web.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,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,
Expand Down
3 changes: 2 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ init:
install:
- ps: Install-Product node 10 x64
- git reset --hard HEAD
- yarn config set ignore-engines true
- yarn
- node --version

Expand All @@ -32,5 +33,5 @@ build_script:
test: off

artifacts:
- path: build\Jumpserver Video Player Setup 0.1.4.exe
- path: build\Jumpserver Video Player Setup 0.1.5.exe
name: JumpserverVideoPlayer
Loading

0 comments on commit 6789446

Please sign in to comment.