mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 23:09:49 +02:00
Serve
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import path from 'path';
|
||||
// const esbuild = require('esbuild');
|
||||
const { ESBuildMinifyPlugin } = require('esbuild-loader');
|
||||
export const resolveRoot = (...relativePath) => path.resolve(__dirname, '..', ...relativePath);
|
||||
|
||||
@@ -33,6 +34,7 @@ export default {
|
||||
use: {
|
||||
loader: 'esbuild-loader',
|
||||
options: {
|
||||
// implementation: esbuild,
|
||||
target: 'es2015',
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user