* “Asar is a simple extensive archive format, it works like tar that concatenates all files together without compression, while having random access support. Use the -asar option to hide your source code and resources. You MUST add electron to devDependencies before packing your application, or it will stretch the application package larger than you think… Hide your source code ¶ gitignore, README.md, LICENSE.md Electron ¶ Other unnecessary directories and files ¶ Visual Studio Code workspace configuration files, we do not need them to build the application we wanted. Git repository directory, ignore it too.vscode ¶ There are no other projects in the npm registry using create-electron-app. Start using create-electron-app in your project by running npm i create-electron-app. Usually, the project has a lot of node dependencies, so the node_module directory should be the largest directory in out normal project. Latest version: 6.1.1, last published: a month ago. Due to the node modules, the package will be so big that you can not easily to distribute them to potential users, so we need to decrease the package size.
0 Comments
Leave a Reply. |