@cascadia-code/scroll-to-hash-element
Version:
Detects location.hash changes and scrolls to the element with the corresponding id. Customizable scroll behavior.
15 lines (14 loc) • 345 B
JSON
{
"compilerOptions": {
"outDir": "dist", // Save compiled JS files here
"target": "ES6",
"module": "CommonJS",
"jsx": "react",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"include": ["src/**/*"],
"exclude": ["node_modules", "**/*.test.ts"]
}