You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tech-preview/pyscript.core/README.md
+14-2Lines changed: 14 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,13 @@
4
4
5
5
---
6
6
7
+
## Documentation
8
+
9
+
Please read [the documentation page](./docs/README.md) to know all the user-facing details around this module.
10
+
7
11
## Development
8
12
9
-
The working folder (source code of truth) is the `./esm` one, while the `./cjs` is populated as dual module and to test (but it's 1:1 code, no trnaspilation except for imports/exports).
13
+
The working folder (source code of truth) is the `./esm` one, while the `./cjs` is populated as dual module and to test (but it's 1:1 code, no transpilation except for imports/exports).
10
14
11
15
```sh
12
16
# install all dependencies needed by core
@@ -19,7 +23,7 @@ This project requires some automatic artifact creation to:
19
23
20
24
* create a _Worker_ as a _Blob_ based on the same code used by this repo
21
25
* create automatically the list of runtimes available via the module
22
-
* create the `core.js` file used by most integration tests
26
+
* create the `core.js` or the `pyscript.js` file used by most integration tests
23
27
* create a sha256 version of the Blob content for CSP cases
24
28
25
29
Accordingly, to build latest project:
@@ -31,3 +35,11 @@ npm run build
31
35
# optionally spin a server with CORS, COOP, and COEP enabled
32
36
npm run server
33
37
```
38
+
39
+
If **no minification** is desired or helpful while debugging potential issues, please use `NO_MIN=1` in front of the _build_ step:
0 commit comments