Files
react-native-devtools-frontend/front_end/persistence/module.json
T
Tim van der Lippe 37512b0d25 Remove empty script arrays from module.json files
If the module uses `modules` to load the JavaScript files, then
we can remove the `scripts` array altogether. Note that there
are still some modules left that use `scripts`, most notably
the `lighthouse_worker`, which is a remote module.

R=aerotwist@chromium.org

Bug: 1105476
Change-Id: Ie303e9835f5ce6d42ccae7b3a305d8f3df1af84c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2302597
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Commit-Queue: Paul Lewis <aerotwist@chromium.org>
Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
2020-07-17 10:05:33 +00:00

66 lines
1.5 KiB
JSON

{
"dependencies": [
"bindings",
"workspace",
"components",
"sdk"
],
"extensions": [
{
"type": "view",
"location": "settings-view",
"id": "workspace",
"title": "Workspace",
"order": 1,
"className": "Persistence.WorkspaceSettingsTab"
},
{
"type": "setting",
"category": "Persistence",
"title": "Enable Local Overrides",
"settingName": "persistenceNetworkOverridesEnabled",
"settingType": "boolean",
"defaultValue": false,
"tags": "interception, override, network, rewrite, request",
"options": [
{
"value": true,
"title": "Enable override network requests"
},
{
"value": false,
"title": "Disable override network requests"
}
]
},
{
"type": "@UI.ContextMenu.Provider",
"contextTypes": [
"Workspace.UISourceCode",
"SDK.Resource",
"SDK.NetworkRequest"
],
"className": "Persistence.PersistenceActions.ContextMenuProvider"
}
],
"modules": [
"persistence.js",
"persistence-legacy.js",
"PlatformFileSystem.js",
"IsolatedFileSystem.js",
"IsolatedFileSystemManager.js",
"FileSystemWorkspaceBinding.js",
"Automapping.js",
"NetworkPersistenceManager.js",
"PersistenceImpl.js",
"PersistenceActions.js",
"PersistenceUtils.js",
"EditFileSystemView.js",
"WorkspaceSettingsTab.js"
],
"resources": [
"editFileSystemView.css",
"workspaceSettingsTab.css"
]
}