Vue CLI's type checking service ignores memory limits

后端 未结 3 1801
忘掉有多难
忘掉有多难 2021-02-07 13:05

DevOps has requested that we limit our frontend builds to ~1GB of RAM, so that our Jenkins instance doesn\'t shut down. We use a standard @vue/cli project, with Typ

3条回答
  •  滥情空心
    2021-02-07 13:30

    in node_modules/fork-ts-checker-webpack-plugin/lib/index.js

    declare class ForkTsCheckerWebpackPlugin {
        static readonly DEFAULT_MEMORY_LIMIT = 4096;
        static readonly ONE_CPU = 1;
        static readonly ALL_CPUS: number;
        static readonly ONE_CPU_FREE: number;
        static readonly TWO_CPUS_FREE: number;
        readonly options: Partial;
    

提交回复
热议问题