fix: last small changes
This commit is contained in:
@@ -2,6 +2,7 @@ import { simpleGit } from 'simple-git';
|
||||
import * as fsPromises from 'fs/promises';
|
||||
import * as path from 'path';
|
||||
import { execFile } from 'node:child_process';
|
||||
import type { GitScriptFileChange, GitScriptFileChangeStatus } from './ScriptEngine';
|
||||
|
||||
export interface GitAvailability {
|
||||
gitFound: boolean;
|
||||
@@ -140,13 +141,7 @@ export interface GitPostFileChange {
|
||||
previousPath?: string;
|
||||
}
|
||||
|
||||
export type GitScriptFileChangeStatus = 'added' | 'modified' | 'deleted' | 'renamed';
|
||||
|
||||
export interface GitScriptFileChange {
|
||||
status: GitScriptFileChangeStatus;
|
||||
path: string;
|
||||
previousPath?: string;
|
||||
}
|
||||
export type { GitScriptFileChange, GitScriptFileChangeStatus };
|
||||
|
||||
type GitProvider = 'unknown' | 'github' | 'gitlab' | 'gitea-forgejo';
|
||||
|
||||
|
||||
@@ -11,6 +11,12 @@ export default defineConfig({
|
||||
emptyOutDir: true,
|
||||
chunkSizeWarningLimit: 8000,
|
||||
rollupOptions: {
|
||||
onLog(level, log, defaultHandler) {
|
||||
if (log.message.includes('has been externalized for browser compatibility') && log.message.includes('pyodide')) {
|
||||
return;
|
||||
}
|
||||
defaultHandler(level, log);
|
||||
},
|
||||
input: resolve(__dirname, 'src/renderer/index.html'),
|
||||
output: {
|
||||
manualChunks(id) {
|
||||
|
||||
Reference in New Issue
Block a user