Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

website/fix: extending configuration files urls #844

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions website/pages/customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ module.exports = {

## Babel

You can add your own `.babelrc` to the root of your project and TSDX will **merge** it with [its own Babel transforms](./src/babelPluginTsdx.ts) (which are mostly for optimization), putting any new presets and plugins at the end of its list.
You can add your own `.babelrc` to the root of your project and TSDX will **merge** it with [its own Babel transforms](../../src/babelPluginTsdx.ts) (which are mostly for optimization), putting any new presets and plugins at the end of its list.

## Jest

You can add your own `jest.config.js` to the root of your project and TSDX will **shallow merge** it with [its own Jest config](./src/createJestConfig.ts).
You can add your own `jest.config.js` to the root of your project and TSDX will **shallow merge** it with [its own Jest config](../../src/createJestConfig.ts).

## ESLint

You can add your own `.eslintrc.js` to the root of your project and TSDX will **deep merge** it with [its own ESLint config](./src/createEslintConfig.ts).
You can add your own `.eslintrc.js` to the root of your project and TSDX will **deep merge** it with [its own ESLint config](../../src/createEslintConfig.ts).
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't actually solve the problem, as you can see in the preview website.

These are relative URLs from the README, and they work from the README, but these files are not (and should not be) hosted on the website, so a relative URL to code will never work here