mirror of
https://github.com/mermaid-js/mermaid.git
synced 2024-08-27 20:51:30 +02:00
15 lines
433 B
JavaScript
15 lines
433 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
testEnvironment:"jsdom",
|
|
transform: {
|
|
'^.+\\.jsx?$': './transformer.js',
|
|
'^.+\\.jison$': path.resolve(__dirname, './jisonTransformer.js')
|
|
},
|
|
transformIgnorePatterns: ['/node_modules/(?!dagre-d3-renderer/lib).*\\.js'],
|
|
moduleNameMapper: {
|
|
'\\.(css|scss)$': 'identity-obj-proxy'
|
|
},
|
|
moduleFileExtensions: ['js', 'json', 'jsx', 'ts', 'tsx', 'node', 'jison']
|
|
};
|