mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
5b1f574167
Bumps [webpack](https://github.com/webpack/webpack) from 4.46.0 to 5.53.0. - [Release notes](https://github.com/webpack/webpack/releases) - [Commits](https://github.com/webpack/webpack/compare/v4.46.0...v5.53.0) --- updated-dependencies: - dependency-name: webpack dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
15 lines
457 B
JavaScript
15 lines
457 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
testEnvironment: 'jsdom',
|
|
transform: {
|
|
'^.+\\.jsx?$': ['babel-jest', { rootMode: 'upward' }],
|
|
'^.+\\.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'],
|
|
};
|