mirror of
https://github.com/wahyd4/vuepress.git
synced 2026-08-09 05:16:23 +10:00
- fix($core): markdown slot doesn‘t work. (regression of c85f62d)
- docs: fresh Node.JS API.
- test: official plugins.
18 lines
629 B
JavaScript
18 lines
629 B
JavaScript
const path = require('upath')
|
|
const { createJestConfig } = require('@vuepress/test-utils')
|
|
|
|
module.exports = createJestConfig({
|
|
rootDir: path.resolve(__dirname, '..'),
|
|
moduleNameMapper: {
|
|
'^@/(.*)$': '<rootDir>/$1',
|
|
'^@core/(.*)$': '<rootDir>/packages/@vuepress/core/$1',
|
|
'^@theme/(.*)$': '<rootDir>/packages/@vuepress/theme-default/$1',
|
|
'^@temp/(.*)$': '<rootDir>/.temp/$1',
|
|
'^@internal/(.*)$': '<rootDir>/.temp/internal/$1',
|
|
'^@transform/(.*)$': '<rootDir>/.temp/transform/$1'
|
|
},
|
|
modulePathIgnorePatterns: [
|
|
'<rootDir>/packages/@vuepress/core/__test__/plugin-api/AsyncOption.spec.js'
|
|
]
|
|
})
|