mirror of
https://github.com/RocketChat/Rocket.Chat.git
synced 2025-12-28 06:47:25 +00:00
chore: add gazzodown preview (#33279)
This commit is contained in:
parent
b17b3befdf
commit
a430faf72b
2
.gitignore
vendored
2
.gitignore
vendored
@ -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",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user