mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 16:09:50 +03:00
Add remote bundle
This commit is contained in:
parent
9ac75edbcc
commit
5967f02ec8
|
@ -1,10 +1,13 @@
|
||||||
import * as esbuild from 'esbuild';
|
import * as esbuild from 'esbuild';
|
||||||
|
|
||||||
await esbuild.build({
|
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,
|
bundle: true,
|
||||||
minify: true,
|
minify: true,
|
||||||
outfile: 'dist/window.bundle.js',
|
outdir: 'dist',
|
||||||
loader: {
|
loader: {
|
||||||
'.pug': 'empty',
|
'.pug': 'empty',
|
||||||
'.woff2': 'file',
|
'.woff2': 'file',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user