RenaiApp/forge.config.js

46 lines
854 B
JavaScript

const ignoreList = [
/^\/\.idea($|\/)/,
/^\/\.vscode($|\/)/,
/^\/\.nyc_output($|\/)/,
/^\/database($|\/)/,
/^\/declarations($|\/)/,
/^\/mocks($|\/)/,
/^\/store($|\/)/,
/^\/templates($|\/)/,
/^\/tests($|\/)/,
/^\/workspace($|\/)/,
/^\/\.editorconfig/,
/^\/\.eslintignore/,
/^\/\.eslintrc\.json/,
/^\/\.gitignore/,
/^\/\.mocharc\.yml/,
/^\/\.nycrc\.yml/,
/^\/\.prettierrc\.yml/,
/^\/forge\.config\.js/,
/^\/gulpfile\.js/,
/^\/package-lock\.json/,
/^\/tsconfig\.json/,
/^\/tslint\.json/,
/^\/webpack\.config\.js/,
/^\/node_modules\/\.cache($|\/)/,
/^\/src\/.*\.(ts|js\.map)/,
];
module.exports = {
packagerConfig: {
icon: 'resources/icon',
ignore: ignoreList,
},
electronRebuildConfig: {
force: true,
},
makers: [
{
name: '@electron-forge/maker-squirrel',
},
],
};