mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
Remove pug imports
This commit is contained in:
parent
106270d7e9
commit
da3815f491
|
@ -31,7 +31,6 @@ await esbuild.build({
|
||||||
...(prod ? [] : [{ out: 'pagewrap.bundle', in: 'src/pageScriptWrap.ts' }]),
|
...(prod ? [] : [{ out: 'pagewrap.bundle', in: 'src/pageScriptWrap.ts' }]),
|
||||||
],
|
],
|
||||||
loader: {
|
loader: {
|
||||||
'.pug': 'empty',
|
|
||||||
'.woff2': 'file',
|
'.woff2': 'file',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
|
@ -7,7 +7,6 @@ import { REMOVE_INSTANCE, StoreAction } from '@redux-devtools/app';
|
||||||
import App from '../app/App';
|
import App from '../app/App';
|
||||||
import configureStore from './store/panelStore';
|
import configureStore from './store/panelStore';
|
||||||
|
|
||||||
import './devpanel.pug';
|
|
||||||
import { Action, Store } from 'redux';
|
import { Action, Store } from 'redux';
|
||||||
import type { PanelMessage } from '../background/store/apiMiddleware';
|
import type { PanelMessage } from '../background/store/apiMiddleware';
|
||||||
import type { StoreStateWithoutSocket } from './store/panelReducer';
|
import type { StoreStateWithoutSocket } from './store/panelReducer';
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import '../chromeApiMock';
|
import '../chromeApiMock';
|
||||||
import './devtools.pug';
|
|
||||||
|
|
||||||
function createPanel(url: string) {
|
function createPanel(url: string) {
|
||||||
chrome.devtools.panels.create(
|
chrome.devtools.panels.create(
|
||||||
|
|
|
@ -4,8 +4,6 @@ import { createRoot } from 'react-dom/client';
|
||||||
import OptionsComponent from './Options';
|
import OptionsComponent from './Options';
|
||||||
import { Options } from './syncOptions';
|
import { Options } from './syncOptions';
|
||||||
|
|
||||||
import './options.pug';
|
|
||||||
|
|
||||||
chrome.runtime.getBackgroundPage((background) => {
|
chrome.runtime.getBackgroundPage((background) => {
|
||||||
const syncOptions = background!.syncOptions;
|
const syncOptions = background!.syncOptions;
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,6 @@ import React from 'react';
|
||||||
import { createRoot } from 'react-dom/client';
|
import { createRoot } from 'react-dom/client';
|
||||||
import { Root } from '@redux-devtools/app';
|
import { Root } from '@redux-devtools/app';
|
||||||
|
|
||||||
import './remote.pug';
|
|
||||||
|
|
||||||
chrome.storage.local.get(
|
chrome.storage.local.get(
|
||||||
{
|
{
|
||||||
'select-monitor': 'InspectorMonitor',
|
'select-monitor': 'InspectorMonitor',
|
||||||
|
|
|
@ -7,8 +7,6 @@ import App from '../app/App';
|
||||||
import configureStore from './store/windowStore';
|
import configureStore from './store/windowStore';
|
||||||
import type { MonitorMessage } from '../background/store/apiMiddleware';
|
import type { MonitorMessage } from '../background/store/apiMiddleware';
|
||||||
|
|
||||||
import './window.pug';
|
|
||||||
|
|
||||||
const position = location.hash;
|
const position = location.hash;
|
||||||
|
|
||||||
chrome.runtime.getBackgroundPage((window) => {
|
chrome.runtime.getBackgroundPage((window) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user