fix pnpm workspace

Niko 2 years ago
parent 94dd68606b
commit 126705f97f
  1. 1
      ng-app/README.md
  2. 7
      ng-app/package.json
  3. 1
      ngone/README.md

@ -45,6 +45,7 @@ cd dist-web ; python3 -m http.server
in order to build a self-contained html file, useful for offline use, do: in order to build a self-contained html file, useful for offline use, do:
``` ```
// uncomment line 14 of src/App.svelte: import * as api from "ng-sdk-js";
pnpm filebuild pnpm filebuild
// single file is available in dist-file/index.html // single file is available in dist-file/index.html
// the assets folder can be discarded // the assets folder can be discarded

@ -45,12 +45,5 @@
"vite-plugin-singlefile": "^0.13.5", "vite-plugin-singlefile": "^0.13.5",
"vite-plugin-svelte-svg": "^2.2.1", "vite-plugin-svelte-svg": "^2.2.1",
"vite-plugin-wasm": "^3.2.2" "vite-plugin-wasm": "^3.2.2"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"rollup"
]
}
} }
} }

@ -6,6 +6,7 @@ This server is used internally by NextGraph to redirect users to the right app s
``` ```
cd web cd web
npm install -g pnpm
pnpm install pnpm install
``` ```

Loading…
Cancel
Save