Skip to content

Commit

Permalink
build: Fix broken docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed May 2, 2023
1 parent 45a889d commit 5eba8d0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,5 @@ jobs:
- run: yarn install --immutable
- run: yarn run pack
- run: cd website && yarn run build
env:
NODE_OPTIONS: --openssl-legacy-provider
2 changes: 1 addition & 1 deletion packages/regex/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"extends": "../../tsconfig.options.json",
"include": [
"src/**/*",
"**/*",
"types/**/*",
"../../types/**/*"
],
Expand Down
10 changes: 5 additions & 5 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,11 @@ module.exports = {
// path: 'packages/data',
// slug: 'emojibase-data',
// },
// {
// entry: '.',
// path: 'packages/regex',
// slug: 'emojibase-regex',
// },
{
entry: '.',
path: 'packages/regex',
slug: 'emojibase-regex',
},
],
minimal: true,
readmes: true,
Expand Down
4 changes: 2 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"start": "NODE_OPTIONS=--openssl-legacy-provider docusaurus start",
"build": "NODE_OPTIONS=--openssl-legacy-provider docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"serve": "docusaurus serve"
Expand Down

0 comments on commit 5eba8d0

Please sign in to comment.