diff --git a/.gitignore b/.gitignore index b803ca1..b8a8244 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .DS_Store node_modules dist +public yarn-error.log diff --git a/.storybook/addons.js b/.storybook/addons.js index 94ade2c..8c6cb0b 100644 --- a/.storybook/addons.js +++ b/.storybook/addons.js @@ -1,3 +1,3 @@ -import "storybook-abstract-addon/register"; +import "../register"; // Usually "storybook-abstract-addon/register"; import '@storybook/addon-storysource/register'; import "@storybook/addon-links/register"; diff --git a/package.json b/package.json index f9c9b71..22ecd15 100755 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "build": "babel src --out-dir dist --extensions '.ts,.tsx'", "storybook": "start-storybook -p 6006", "build-storybook": "build-storybook", - "now-build": "build-storybook --output-dir ./public", + "now-build": "yarn build && build-storybook --output-dir ./public", "now-dev": "start-storybook -p $PORT" }, "dependencies": {