1
0
mirror of https://github.com/Eugeny/tabby.git synced 2025-07-20 10:28:05 +00:00

avoid including all of the util-decorators in the bundle

This commit is contained in:
Eugene Pankov
2021-07-08 22:03:25 +02:00
parent 72874a1e84
commit 47dba5b52c
4 changed files with 4 additions and 3 deletions

@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import * as yaml from 'js-yaml' import * as yaml from 'js-yaml'
import { debounce } from 'utils-decorators/dist/cjs' import { debounce } from 'utils-decorators/dist/esm/debounce/debounce'
import { Component, Inject, Input, HostBinding, NgZone } from '@angular/core' import { Component, Inject, Input, HostBinding, NgZone } from '@angular/core'
import { import {
ConfigService, ConfigService,

@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { debounce } from 'utils-decorators/dist/cjs' import { debounce } from 'utils-decorators/dist/esm/debounce/debounce'
import { Component, Inject, NgZone, Optional } from '@angular/core' import { Component, Inject, NgZone, Optional } from '@angular/core'
import { import {
DockingService, DockingService,

@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */ /* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { Observable, debounceTime, distinctUntilChanged, map } from 'rxjs' import { Observable, debounceTime, distinctUntilChanged, map } from 'rxjs'
import { debounce } from 'utils-decorators/dist/cjs' import { debounce } from 'utils-decorators/dist/esm/debounce/debounce'
import { Component } from '@angular/core' import { Component } from '@angular/core'
import { ConfigService, getCSSFontFamily, PlatformService } from 'tabby-core' import { ConfigService, getCSSFontFamily, PlatformService } from 'tabby-core'

@@ -130,6 +130,7 @@ module.exports = options => {
} }
if (process.env.PLUGIN_BUNDLE_ANALYZER === options.name) { if (process.env.PLUGIN_BUNDLE_ANALYZER === options.name) {
config.plugins.push(bundleAnalyzer) config.plugins.push(bundleAnalyzer)
config.cache = false
} }
return config return config
} }