Skip to content

Commit 41c22d1

Browse files
committed
add highlight.js and path-browserify
1 parent f1085d2 commit 41c22d1

File tree

5 files changed

+59
-3
lines changed

5 files changed

+59
-3
lines changed

dist/highlight.js/highlight.js

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

dist/path-browserify/path-browserify.js

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

package-lock.json

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

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@live-codes/browser-compilers",
3-
"version": "0.22.3",
3+
"version": "0.22.4",
44
"description": "Compilers that run in the browser, for use in livecodes.io",
55
"author": "Hatem Hosny",
66
"license": "MIT",
@@ -68,10 +68,12 @@
6868
"elkjs-svg": "0.2.1",
6969
"eslint": "8.11.0",
7070
"flow-remove-types": "2.266.1",
71+
"highlight.js": "11.11.1",
7172
"less": "4.3.0",
7273
"lightningcss-wasm": "1.29.3",
7374
"monaco-tailwindcss": "0.6.1",
7475
"patch-package": "6.4.7",
76+
"path-browserify": "1.0.1",
7577
"php-wasm": "0.0.8",
7678
"postcss": "8.5.3",
7779
"postcss-modules": "6.0.1",

scripts/vendors.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,3 +644,19 @@ esbuild.build({
644644
outfile: 'dist/jinja/jinja.js',
645645
globalName: 'Jinja',
646646
});
647+
648+
// highlight.js
649+
esbuild.build({
650+
...baseOptions,
651+
entryPoints: ['node_modules/highlight.js/lib/index.js'],
652+
outfile: 'dist/highlight.js/highlight.js',
653+
format: 'esm',
654+
});
655+
656+
// path-browserify
657+
esbuild.build({
658+
...baseOptions,
659+
entryPoints: ['node_modules/path-browserify/index.js'],
660+
outfile: 'dist/path-browserify/path-browserify.js',
661+
format: 'esm',
662+
});

0 commit comments

Comments
 (0)