mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-02 11:54:15 +01:00
Merge branch 'sidv/viteVitest' into sidv/3061_monorepo
* sidv/viteVitest: ts conversion cleanup remove esbuild fix: tests chore: Add recommended extensions Fix user-journey leaking css Add "Debug Current Test File" configuration for VSCode Fix unit test coverage Use vite for build Fix docs vite vite Server Cleanup Merge vitest & esbuild Merge vitest fix jison generation Vite Vite
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import mermaid from '../../packages/mermaid/dist/mermaid.core';
|
||||
import mermaid from '../../packages/mermaid/src/mermaid';
|
||||
|
||||
let code = `flowchart LR
|
||||
Power_Supply --> Transmitter_A
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<!-- <meta charset="iso-8859-15"/> -->
|
||||
<script src="/e2e.esm.mjs" type="module"></script>
|
||||
<script src="./viewer.js" type="module" />
|
||||
<!-- <link href="https://fonts.googleapis.com/css?family=Mansalva&display=swap" rel="stylesheet" /> -->
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css?family=Noto+Sans+SC&display=swap"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Base64 } from 'js-base64';
|
||||
import { Base64 } from '../../node_modules/js-base64';
|
||||
import mermaid2 from '../../packages/mermaid/src/mermaid';
|
||||
|
||||
/**
|
||||
|
||||
@@ -12,6 +12,8 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="graph-to-be"></div>
|
||||
<script src="./bundle-test.esm.mjs" type="module" charset="utf-8"></script>
|
||||
<script type="module" charset="utf-8">
|
||||
import './bundle-test.js';
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="/e2e.esm.mjs" type="module"></script>
|
||||
<script src="./viewer.js" type="module"></script>
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet" />
|
||||
<style>
|
||||
.malware {
|
||||
|
||||
Reference in New Issue
Block a user