mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Update folder structure in dist folder
This commit is contained in:
parent
7ab5dac5c7
commit
d07a7f505b
10
.gitignore
vendored
10
.gitignore
vendored
@ -1,14 +1,10 @@
|
||||
node_modules
|
||||
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
|
||||
.DS_Store
|
||||
.idea
|
||||
|
||||
node_modules
|
||||
coverage
|
||||
|
||||
test/tmp_*
|
||||
test/fixtures/samples/*.actual*
|
||||
|
||||
dist/*.js
|
||||
dist/*.css
|
||||
dist/themes/*.css
|
||||
|
4
dist/demo/index.html → dist/index.html
vendored
4
dist/demo/index.html → dist/index.html
vendored
@ -5,7 +5,7 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>Mermaid Quick Test Page</title>
|
||||
<link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=">
|
||||
<link rel="stylesheet" href="../mermaid.css">
|
||||
<link rel="stylesheet" href="./themes/mermaid.forest.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="mermaid">
|
||||
@ -98,7 +98,7 @@ Class01 : int chimp
|
||||
Class01 : int gorilla
|
||||
Class08 <--> C2: Cool label
|
||||
</div>
|
||||
<script src="../mermaid.js"></script>
|
||||
<script src="./mermaid.js"></script>
|
||||
<script>
|
||||
mermaid.initialize({startOnLoad: true});
|
||||
</script>
|
2
todo.md
2
todo.md
@ -19,3 +19,5 @@
|
||||
- global.mermaid_config
|
||||
- rewrite logger
|
||||
- rewrite less code
|
||||
- Don't generate temp_* folders in test/ folder
|
||||
- Generate them into system temp folder instead
|
||||
|
@ -52,13 +52,13 @@ export const lessConfig = () => {
|
||||
return {
|
||||
target: 'web',
|
||||
entry: {
|
||||
'mermaid': './src/less/default/mermaid.less',
|
||||
'mermaid.default': './src/less/default/mermaid.less',
|
||||
'mermaid.dark': './src/less/dark/mermaid.less',
|
||||
'mermaid.forest': './src/less/forest/mermaid.less',
|
||||
'mermaid.neutral': './src/less/neutral/mermaid.less'
|
||||
},
|
||||
output: {
|
||||
path: path.join(__dirname, './dist/'),
|
||||
path: path.join(__dirname, './dist/themes'),
|
||||
filename: '[name].css'
|
||||
},
|
||||
module: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user