Skip to content

Commit 5911e7d

Browse files
committed
Update examples
1 parent 1658e9a commit 5911e7d

File tree

8 files changed

+1589
-1265
lines changed

8 files changed

+1589
-1265
lines changed

docs/example-bundled/js/main.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/example-loaded/js/main.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/example-script/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<link rel="icon" type="image/png" href="img/favicon.png">
1515

1616
<script src="https://cdn.jsdelivr.net/npm/@undecaf/[email protected]/dist/index.js"></script>
17-
<script src="https://cdn.jsdelivr.net/npm/@undecaf/[email protected].22/dist/index.js"></script>
17+
<script src="https://cdn.jsdelivr.net/npm/@undecaf/[email protected].23/dist/index.js"></script>
1818
</head>
1919

2020
<body>

example-bundled/esbuild.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const options = {
99
outfile: '../docs/example-bundled/js/main.js',
1010
format: 'esm',
1111
target: 'es2020',
12+
platform: 'node', // required although building for browsers
1213
minify: true,
1314
sourcemap: false,
1415
plugins: [

0 commit comments

Comments
 (0)