src/helpers.ts
raw| 1 | // Re-export all helpers to allow custom package export path |
| 2 | // e.g. import { updateHistoryRecord } from 'swup' |
| 3 | |
| 4 | export { classify } from './helpers/classify.js'; |
| 5 | export { createHistoryRecord, updateHistoryRecord } from './helpers/history.js'; |
| 6 | export { delegateEvent } from './helpers/delegateEvent.js'; |
| 7 | export { getCurrentUrl } from './helpers/getCurrentUrl.js'; |
| 8 | export { Location } from './helpers/Location.js'; |
| 9 | export { matchPath } from './helpers/matchPath.js'; |