This commit is contained in:
Andrew Gundersen 2021-04-13 12:27:03 -05:00
commit bb437e1b5f
3 changed files with 17 additions and 38 deletions

View file

@ -1,3 +0,0 @@
> 1%
last 2 versions
not dead

View file

@ -17,11 +17,23 @@
"url": "https://gitlab.com/crimata/electron-app.git",
"release": "latest"
},
"build": {
"artifactName": "${productName}-${version}.${ext}",
"publish": {
"provider": "generic",
"url": "https://gitlab.com/api/v4/projects/25637892/jobs/artifacts/master/raw/dist?job=build"
"vue": {
"plugin-options": {
// Electron builder options.
"electronBuilder": {
"builderOptions": {
"appId": "com.crimata.App",
"productName": "Crimata Messenger",
"artifactName": "${productName}-${version}.${ext}",
"publish": {
"provider": "generic",
"url": "https://gitlab.com/api/v4/projects/25637892/jobs/artifacts/master/raw/dist?job=build"
}
},
"preload": "src/preload.ts"
}
}
},
"dependencies": {

View file

@ -1,30 +0,0 @@
// NOTE needed imports for rust wasm
// const path = require("path");
// const WasmPackPlugin = require("@wasm-tool/wasm-pack-plugin");
// const OptimizeWasmPlugin = require("optimize-wasm-webpack-plugin");
module.exports = {
lintOnSave: false,
configureWebpack: {
// NOTE uncomment to use rust wasm
// optimization: {
// minimizer: [new OptimizeWasmPlugin()]
// },
// plugins: [
// new WasmPackPlugin({
// crateDirectory: path.resolve(__dirname, "crate")
// })
// ]
},
pluginOptions: {
electronBuilder: {
builderOptions: {
// TODO electron-builder config https://www.electron.build/configuration/configuration
appId: "com.crimata.messenger",
productName: "Crimata Messenger",
},
preload: "src/preload.ts"
}
}
};