From d1bdd22daad97a955da77c6bf7354f389ec954df Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Thu, 6 Feb 2020 09:55:20 +0100 Subject: [PATCH] regenerate docs with relative path --- docs/index.html | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/index.html b/docs/index.html index c9ec8b1..f8aa658 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,3 +1,3 @@ -

canihazusername









yarn add canihazusername
import { generate } from 'canihazusername'
-generate('{character}_{english}')
Available lists

+

canihazusername









yarn add canihazusername
import { generate } from 'canihazusername'
+generate('{character}_{english}')
Available lists

\ No newline at end of file diff --git a/package.json b/package.json index 5ea0e60..3c85945 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "types": "./lib/index.d.ts", "scripts": { "generate": "git -C ./generate/wordlist pull && node ./generate/wordlist.js", - "docs": "rm -r ./docs && parcel build --no-source-maps -d ./docs ./website/index.html", + "docs": "rm -r ./docs && parcel build --no-source-maps --out-dir ./docs --public-url ./ ./website/index.html", "build": "tsc", "prepublishOnly": "npm run build && npm run test" },