Skip to content

Commit

Permalink
chore: add gazzodown preview (#33279)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo authored Sep 27, 2024
1 parent b17b3be commit a430faf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,5 @@ storybook-static

data/
registration.yaml

storybook-static
8 changes: 8 additions & 0 deletions packages/gazzodown/.storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ module.exports = {
include: /node_modules/,
loader: 'babel-loader',
});
config.module.rules.push({
test: /\.m?js$/,
include: /node_modules/,
type: 'javascript/auto',
use: {
loader: require.resolve('babel-loader'),
},
});
return config;
},
};
2 changes: 2 additions & 0 deletions packages/gazzodown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.build.json",
"build-storybook": "build-storybook",
"build-preview": "build-storybook --quiet",
".:build-preview-move": "mkdir -p ../../.preview && cp -r ./storybook-static ../../.preview/gazzodown",
"dev": "tsc -p tsconfig.build.json --watch --preserveWatchOutput",
"lint": "eslint --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx . --fix",
Expand Down

0 comments on commit a430faf

Please sign in to comment.