mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-20 02:18:01 +00:00
moved profile settings view to settings plugin, web entry cleanup
This commit is contained in:
@@ -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
|
||||
|
@@ -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"
|
||||
}
|
||||
|
@@ -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'))
|
||||
|
||||
|
Reference in New Issue
Block a user