Skip to content
Snippets Groups Projects
Unverified Commit a430faf7 authored by Guilherme Gazzo's avatar Guilherme Gazzo Committed by GitHub
Browse files

chore: add gazzodown preview (#33279)

parent b17b3bef
No related branches found
No related tags found
No related merge requests found
......@@ -56,3 +56,5 @@ storybook-static
data/
registration.yaml
storybook-static
......@@ -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;
},
};
......@@ -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",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment