mirror of https://github.com/TriliumNext/Notes
chore(mermaid): set up project for building ELK
parent
a7722e6bca
commit
d36b8ff4c4
@ -0,0 +1 @@
|
|||||||
|
export * from '@mermaid-js/layout-elk';
|
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"name": "mermaid-elk",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"build": "cross-env node --import ../../loader-register.js ../../node_modules/webpack/bin/webpack.js -c webpack.config.cjs"
|
||||||
|
},
|
||||||
|
"keywords": [],
|
||||||
|
"author": "",
|
||||||
|
"license": "ISC",
|
||||||
|
"description": "",
|
||||||
|
"dependencies": {
|
||||||
|
"@mermaid-js/layout-elk": "^0.1.5"
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,12 @@
|
|||||||
|
const path = require("path");
|
||||||
|
|
||||||
|
module.exports = {
|
||||||
|
mode: "production",
|
||||||
|
entry: "./main.js",
|
||||||
|
output: {
|
||||||
|
library: "MERMAID_ELK",
|
||||||
|
path: path.resolve(__dirname, "dist"),
|
||||||
|
libraryTarget: "umd",
|
||||||
|
libraryExport: "default"
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue