mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-25 15:40:06 +03:00
Add background and stop code-splitting
This commit is contained in:
parent
9c7c2c5fd6
commit
8a8c13f799
|
@ -2,13 +2,12 @@ import * as esbuild from 'esbuild';
|
|||
|
||||
await esbuild.build({
|
||||
entryPoints: [
|
||||
{ out: 'background.bundle', in: 'src/background/index.ts' },
|
||||
{ out: 'remote.bundle', in: 'src/remote/index.tsx' },
|
||||
{ out: 'window.bundle', in: 'src/window/index.tsx' },
|
||||
],
|
||||
bundle: true,
|
||||
minify: true,
|
||||
splitting: true,
|
||||
format: 'esm',
|
||||
outdir: 'dist',
|
||||
loader: {
|
||||
'.pug': 'empty',
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
import '../chromeApiMock';
|
||||
import { Store } from 'redux';
|
||||
import configureStore, { BackgroundAction } from './store/backgroundStore';
|
||||
import openDevToolsWindow, { DevToolsPosition } from './openWindow';
|
||||
|
|
Loading…
Reference in New Issue
Block a user