Releases: nklayman/vue-cli-plugin-electron-builder
alpha.9 - serve:electron now works on mac/linux
The command to launch electron has been changed so that electron is properly launched on Mac/Linux when serve:electron
is run.
alpha.7 - CLI UI support (almost), better arg handling
alpha.7 includes two main features:
Better arg handling
Previously, passing an argument such as --win nsis zip
(any argument with an array value), the command would fail. Now, it works!
UI Support
The cli-ui is supported in this plugin, but won't be available until the rc.4 release of vue-cli. Here is what's included:
- dashboard and analyzer support
- config for build command arguments:
- choose target architectures
- choose which platforms to build for, and which formats for each target
- logo, better discoverability
alpha.6 - better environment variables, webpack no longer breaks __dirname/__filename
In this release, I fixed an issue where many environment variables were not available in the electron process. I also prevented webpack from changing __dirname/__filename.
Electron-builder args are now supported
You can now pass args to electron-builder by passing them to build:electron
. All args are supported, you can see a list on electron-builder's page.
1.0.0! No more electron-webpack!
No more electron-webpack, regular build config used
- Less dependencies.
- Faster build times!
- No extra config for stylus, sass, etc... Just install the proper plugin.
- Typescript support is automatic for both processes, just add the
@vue/typescript
plugin.
App layout
- Your normal build will not be overwritten by
build:electron
. - The folder structure has changed dramatically.
Config changes
- Electron-webpack config is no longer used.
configureWebpack
andconfigureWebpackMain
are no longer used and, in most cases, no longer necessary.- Electron-builder's config is now taken from the
builderConfig
key in vue-cli-plugin-electron-builder's plugin options.
Upgrading
Please see the upgrading guide.
0.3.2
Upgrade to electron-webpack@2, electron@2, add support for @vue/[email protected]
Upgraded dependencies:
Upgrade to [email protected], [email protected], [email protected], and [email protected].
Vue CLI beta.10 support (webpack 4 + babel 7):
This update uses webpack 4 + babel 7 which will result in faster build times. It also requires @vue/[email protected] or greater. Make sure to re-invoke the generator after upgrading. If you still use @vue/[email protected] or earlier, do not upgrade, stay at v0.2.5.