-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(I18nHead): meta locale urls (#38)
* - avoid generating alternate for default locale - use string concat instead of path * fix: avoid printing default language alternate * Update I18nHead.tsx added missing trailing slash on root directory URL * fix(I18nHead): meta locale urls Co-authored-by: Alessandro Maruccia <alesmaru@gmail.com>
- Loading branch information
1 parent
9363996
commit c473237
Showing
7 changed files
with
1,440 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
const babelOptions = { | ||
presets: ["babel-preset-gatsby", "@babel/preset-typescript"], | ||
presets: [ | ||
"babel-preset-gatsby", | ||
"@babel/preset-typescript", | ||
["@babel/preset-react", { "runtime": "automatic" }] | ||
], | ||
} | ||
module.exports = require("babel-jest").default.createTransformer(babelOptions) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.