mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 06:50:01 -04:00
update to bare-mux 2.0
This commit is contained in:
parent
31d8b6a650
commit
3506d85cc0
7 changed files with 55 additions and 81 deletions
|
@ -64,21 +64,25 @@ const devServer = await context({
|
|||
resolveFrom: "cwd",
|
||||
assets: [
|
||||
{
|
||||
from: ["./node_modules/@mercuryworkshop/bare-mux/dist/bare.cjs"],
|
||||
from: ["./node_modules/@mercuryworkshop/bare-mux/dist/index.js"],
|
||||
to: ["./static/bare-mux.js"],
|
||||
},
|
||||
{
|
||||
from: ["./node_modules/@mercuryworkshop/bare-as-module3/dist/bare.cjs"],
|
||||
from: ["./node_modules/@mercuryworkshop/bare-as-module3/dist/index.mjs"],
|
||||
to: ["./static/bare-client.js"],
|
||||
},
|
||||
{
|
||||
from: ["./node_modules/@mercuryworkshop/libcurl-transport/dist/index.cjs"],
|
||||
from: ["./node_modules/@mercuryworkshop/libcurl-transport/dist/index.mjs"],
|
||||
to: ["./static/curl-client.js"],
|
||||
},
|
||||
{
|
||||
from: ["./node_modules/@mercuryworkshop/epoxy-transport/dist/index.js"],
|
||||
from: ["./node_modules/@mercuryworkshop/epoxy-transport/dist/index.mjs"],
|
||||
to: ["./static/epoxy-client.js"],
|
||||
},
|
||||
{
|
||||
from: ["./node_modules/@mercuryworkshop/bare-mux/dist/worker.js"],
|
||||
to: ["./static/bare-mux-worker.js"],
|
||||
},
|
||||
{
|
||||
from: ["./dist/*"],
|
||||
to: ["./static"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue