moved profile settings view to settings plugin, web entry cleanup

This commit is contained in:
Eugene Pankov
2021-07-07 01:22:50 +02:00
parent 93a89e3c86
commit 0ad32fa79d
27 changed files with 47 additions and 130 deletions

View File

@@ -13,7 +13,6 @@ import './polyfills.buffer'
const mocks = {}
const modules = {}
const originalRequire = window['require']
const customRequire = path => {
if (mocks[path]) {
console.log(':: mock', path)
@@ -22,7 +21,7 @@ const customRequire = path => {
if (modules[path]) {
return modules[path]
}
return originalRequire(path)
throw new Error(`Attempted to require ${path}`)
}
customRequire['resolve'] = (() => null) as any

View File

@@ -1,4 +1,5 @@
{
"name": "tabby-web-container",
"devDependencies": {
"assert": "1.5.0",
"browserify-zlib": "^0.2.0",
@@ -13,5 +14,6 @@
},
"resolutions": {
"**/util": "^0.12.0"
}
},
"version": "1.0.145-nightly.0"
}

View File

@@ -156,7 +156,7 @@ Tabby.registerModule('@ng-bootstrap/ng-bootstrap', ngBootstrapModule)
Tabby.registerModule('ngx-toastr', ngxToastrModule)
Tabby.registerModule('deepmerge', require('deepmerge'))
Tabby.registerModule('rxjs', require('rxjs'))
Tabby.registerModule('rxjs/operators', require('rxjs/operators'))
Tabby.registerModule('rxjs/operators', require('rxjs'))
Tabby.registerModule('js-yaml', require('js-yaml'))
Tabby.registerModule('zone.js/dist/zone.js', require('zone.js/dist/zone.js'))