| 123456789101112131415161718192021222324252627282930313233 |
- module.exports = {
- runtimeCompiler: true,
- devServer: {
- stats: 'verbose',
- },
- pluginOptions: {
- electronBuilder: {
- // List native deps here if they don't work
- externals: [
- 'sqlite3',
- 'sharp',
- 'sequelize',
- 'ali-oss',
- 'urllib',
- 'utility',
- 'archiver',
- 'dcraw',
- 'nodejs-fs-utils',
- ],
- // If you are using Yarn Workspaces, you may have multiple node_modules folders
- // List them all here so that VCP Electron Builder can find them
- nodeModulesPath: ['./node_modules'],
- builderOptions: {
- productName: '图途象',
- nsis: {
- oneClick: false,
- perMachine: true,
- allowToChangeInstallationDirectory: true,
- },
- },
- },
- },
- };
|