Skip to content

Commit

Permalink
feat: Merge pull request #94 from samuele-cozzi:feature/advanced-html…
Browse files Browse the repository at this point in the history
…-export

feat: advanced html export
  • Loading branch information
samuele-cozzi committed Jun 24, 2023
2 parents abd8f6a + 50d63cd commit 14523f9
Show file tree
Hide file tree
Showing 9 changed files with 595 additions and 388 deletions.
11 changes: 1 addition & 10 deletions esbuild.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import esbuild from "esbuild";
import process from "process";
import builtins from "builtin-modules";
import { copy } from 'esbuild-plugin-copy';

const banner =
`/*
Expand Down Expand Up @@ -40,16 +39,8 @@ const context = await esbuild.context({
logLevel: "info",
sourcemap: prod ? false : "inline",
treeShaking: true,
//outfile: "vault/.obsidian/plugins/obsidian-marp-slides/main.js", //for local dev!!!
//outfile: "vault/.obsidian/plugins/marp-slides/main.js", //for local dev!!!
outfile: "main.js",
plugins: [
copy({
assets: {
from: ['node_modules/@marp-team/marp-cli/lib/*'],
to: ['./lib/'],
}
})
]
});

if (prod) {
Expand Down
Loading

0 comments on commit 14523f9

Please sign in to comment.