fix: include server/static in published package files (#1113)
The sandbox_proxy.html file was not shipped in the npm package because the files arrays in both package.json and server/package.json only included the build directory. The server code resolves the file via join(__dirname, '..', 'static', 'sandbox_proxy.html') which expects static/ as a sibling of build/, but it was missing from the package.
This commit is contained in:
parent
1e23d37769
commit
bb791cdede
2 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,7 @@
|
||||||
"client/bin",
|
"client/bin",
|
||||||
"client/dist",
|
"client/dist",
|
||||||
"server/build",
|
"server/build",
|
||||||
|
"server/static",
|
||||||
"cli/build"
|
"cli/build"
|
||||||
],
|
],
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"build",
|
"build",
|
||||||
|
"static",
|
||||||
"LICENSE"
|
"LICENSE"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue