mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-25 15:40:06 +03:00
Add remote bundle
This commit is contained in:
parent
9ac75edbcc
commit
5967f02ec8
|
@ -1,10 +1,13 @@
|
|||
import * as esbuild from 'esbuild';
|
||||
|
||||
await esbuild.build({
|
||||
entryPoints: ['src/window/index.tsx'],
|
||||
entryPoints: [
|
||||
{ out: 'remote.bundle', in: 'src/remote/index.tsx' },
|
||||
{ out: 'window.bundle', in: 'src/window/index.tsx' },
|
||||
],
|
||||
bundle: true,
|
||||
minify: true,
|
||||
outfile: 'dist/window.bundle.js',
|
||||
outdir: 'dist',
|
||||
loader: {
|
||||
'.pug': 'empty',
|
||||
'.woff2': 'file',
|
||||
|
|
Loading…
Reference in New Issue
Block a user