Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ build/Release
node_modules/
jspm_packages/

# storybook
storybook-static/

# TypeScript v1 declaration files
typings/

Expand Down
25 changes: 22 additions & 3 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,28 @@ const config = {
features: {
interactionsDebugger: true,
},
docs: {
autodocs: 'tag',
},
docs: {},
staticDirs: ['../src/public'],
async viteFinal(config, { configType }) {
const { mergeConfig } = await import('vite');

if (configType === 'DEVELOPMENT') {
// Your development configuration goes here
}
if (configType === 'PRODUCTION') {
// Your production configuration goes here.
}
return mergeConfig(config, {
// Your environment configuration here
build: {
rollupOptions: {
external: [
/^..\/fonts/,
/^\/common\/firebird/
]
},
},
});
},
};
export default config;
2 changes: 1 addition & 1 deletion .storybook/manager.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { addons } from "@storybook/addons";
import { addons } from "@storybook/manager-api";

addons.setConfig({
panelPosition: 'right'
Expand Down
Loading
Loading