Skip to content

Commit

Permalink
Add walkthrough
Browse files Browse the repository at this point in the history
Should be useful when recording a video for #2
  • Loading branch information
Zachatoo committed Jan 25, 2023
1 parent f51310f commit 7bee25c
Show file tree
Hide file tree
Showing 11 changed files with 734 additions and 64 deletions.
8 changes: 8 additions & 0 deletions esbuild.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import esbuild from "esbuild";
import process from "process";
import builtins from "builtin-modules";
import esbuildSvelte from "esbuild-svelte";
import sveltePreprocess from "svelte-preprocess";

const banner = `/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
Expand All @@ -12,6 +14,12 @@ const prod = process.argv[2] === "production";

esbuild
.build({
plugins: [
esbuildSvelte({
compilerOptions: { css: true },
preprocess: sveltePreprocess(),
}),
],
banner: {
js: banner,
},
Expand Down
Loading

0 comments on commit 7bee25c

Please sign in to comment.