mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-17 22:39:56 +02:00
Add export map, use mjs extension
This commit is contained in:
@@ -12,6 +12,6 @@ esmConfig.output.library = {
|
||||
esmConfig.experiments = {
|
||||
outputModule: true,
|
||||
};
|
||||
esmConfig.output.filename = '[name].esm.min.js';
|
||||
esmConfig.output.filename = '[name].esm.min.mjs';
|
||||
|
||||
export default [umdConfig, esmConfig];
|
||||
|
Reference in New Issue
Block a user