Skip to content

Commit

Permalink
Fix grafast mermaid
Browse files Browse the repository at this point in the history
  • Loading branch information
benjie committed Sep 8, 2023
1 parent e10a37a commit 4a97746
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions grafast/grafast/scripts/build-npm.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ await transformPackageJson(
);
await esmHack(__dirname + "/../release/dist/index.js");
await esmHack(__dirname + "/../release/dist/envelop.js");
await esmHack(__dirname + "/../release/dist/mermaid.js");
4 changes: 4 additions & 0 deletions grafast/grafast/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ module.exports = {
dependOn: "index",
import: "./dist/envelop.js",
},
mermaid: {
dependOn: "index",
import: "./dist/mermaid.js",
},
},
output: {
path: path.resolve(__dirname, "release/dist"),
Expand Down

0 comments on commit 4a97746

Please sign in to comment.