We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aa8f65 commit 11c19d8Copy full SHA for 11c19d8
scripts/build.sh
@@ -0,0 +1,11 @@
1
+#!/bin/bash
2
+
3
+# Find all .js files
4
+FILES=$(find -E ./src -regex ".*.js")
5
6
+# Compile with esbuild
7
+esbuild $FILES --minify --outdir=lib --platform=node --format=cjs --target=node12
8
9
+# A bit annoying, but let's copy the css file that we require
10
+mkdir -p ./lib/plugins/css
11
+cp ./src/plugins/css/preflight.css ./lib/plugins/css/preflight.css
0 commit comments