11const NodePolyfillPlugin = require ( 'node-polyfill-webpack-plugin' ) ;
22
33module . exports = {
4+
45 configureWebpack : {
56 plugins : [
67 new NodePolyfillPlugin ( )
@@ -9,30 +10,30 @@ module.exports = {
910 pluginOptions : {
1011 electronBuilder : {
1112 preload : './src/preload.js' ,
12-
13+
1314 // Or, for multiple preload files:
1415 // preload: { preload: 'src/preload.js', otherPreload: 'src/preload2.js' }
1516 builderOptions : {
1617 appId : 'com.linerai.liner' ,
1718 afterSign : "./afterSignHook.js" ,
1819 "extraResources" : [ {
19- "from" : process . env . BACKEND_BUILD_PATH ,
20+ "from" : process . env . BACKEND_BUILD_PATH ,
2021 "to" : "core" ,
2122 "filter" : [
2223 "**/*"
2324 ]
2425 } ] , // access via path.join(path.dirname(__dirname), 'liner_core' );
2526
2627 "mac" : {
27- "icon" : "build/Icon-1024.png" ,
28+ "icon" : "build/Icon-1024.png" ,
2829 "hardenedRuntime" : true ,
2930 "entitlements" : "build/entitlements.mac.plist" ,
3031 "entitlementsInherit" : "build/entitlements.mac.plist" ,
3132 "minimumSystemVersion" : "12.3.0" ,
3233 "extendInfo" : {
3334 "LSMinimumSystemVersion" : "12.3.0"
34- } ,
35-
35+ } ,
36+
3637 "target" : {
3738 "target" : "dmg" ,
3839 "arch" : [
@@ -42,11 +43,11 @@ module.exports = {
4243 } ,
4344
4445 "win" : {
45- "icon" : "build/Icon-1024.png" ,
46+ "icon" : "build/Icon-1024.png" ,
4647 "target" : {
4748 "target" : "NSIS" ,
4849 "arch" : [
49- process . arch
50+ process . arch
5051 ]
5152 }
5253 }
0 commit comments