mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-27 06:49:53 +00:00
avoid including all of the util-decorators in the bundle
This commit is contained in:
parent
72874a1e84
commit
47dba5b52c
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user