mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
Move contentScript to top-level
This commit is contained in:
parent
a9653874eb
commit
ce0853e674
|
@ -12,7 +12,7 @@ import { LibConfig } from '@redux-devtools/app';
|
|||
import type {
|
||||
ContentScriptToPageScriptMessage,
|
||||
ListenerMessage,
|
||||
} from '../../browser/extension/inject/contentScript';
|
||||
} from '../../contentScript';
|
||||
import type { Position } from './openWindow';
|
||||
|
||||
const listeners: {
|
||||
|
|
|
@ -19,10 +19,10 @@ import syncOptions, {
|
|||
import openDevToolsWindow, { DevToolsPosition } from '../openWindow';
|
||||
import { getReport } from '../logging';
|
||||
import { Action, Dispatch, MiddlewareAPI } from 'redux';
|
||||
import {
|
||||
import type {
|
||||
ContentScriptToBackgroundMessage,
|
||||
SplitMessage,
|
||||
} from '../../browser/extension/inject/contentScript';
|
||||
} from '../../contentScript';
|
||||
import type {
|
||||
ErrorMessage,
|
||||
PageScriptToContentScriptMessageForwardedToMonitors,
|
||||
|
|
|
@ -52,7 +52,7 @@ import {
|
|||
StructuralPerformAction,
|
||||
ConnectResponse,
|
||||
} from '../../../app/api';
|
||||
import { ContentScriptToPageScriptMessage } from './contentScript';
|
||||
import type { ContentScriptToPageScriptMessage } from '../../../contentScript';
|
||||
|
||||
type EnhancedStoreWithInitialDispatch<
|
||||
S,
|
||||
|
|
|
@ -2,13 +2,13 @@ import {
|
|||
injectOptions,
|
||||
getOptionsFromBg,
|
||||
isAllowed,
|
||||
} from '../../../options/syncOptions';
|
||||
import type { TabMessage } from '../../../background/store/apiMiddleware';
|
||||
import {
|
||||
} from '../options/syncOptions';
|
||||
import type { TabMessage } from '../background/store/apiMiddleware';
|
||||
import type {
|
||||
PageScriptToContentScriptMessage,
|
||||
PageScriptToContentScriptMessageWithoutDisconnect,
|
||||
PageScriptToContentScriptMessageWithoutDisconnectOrInitInstance,
|
||||
} from '../../../app/api';
|
||||
} from '../app/api';
|
||||
import { Action } from 'redux';
|
||||
import {
|
||||
CustomAction,
|
|
@ -15,7 +15,7 @@ const baseConfig = (params) => ({
|
|||
remote: ['../src/remote/index'],
|
||||
devpanel: ['../src/chromeApiMock', '../src/devpanel/index'],
|
||||
devtools: ['../src/devtools/index'],
|
||||
content: ['../src/chromeApiMock', `${extpath}inject/contentScript`],
|
||||
content: ['../src/chromeApiMock', '../src/contentScript/index'],
|
||||
pagewrap: [`${extpath}inject/pageScriptWrap`],
|
||||
...params.inputExtra,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user