mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
15 lines
398 B
JavaScript
15 lines
398 B
JavaScript
const svgrPlugin = require("vite-plugin-svgr");
|
|
|
|
module.exports = {
|
|
stories: ["../src/**/*.stories.mdx", "../src/**/*.stories.@(js|jsx|ts|tsx)"],
|
|
addons: ["@storybook/addon-links", "@storybook/addon-essentials"],
|
|
framework: "@storybook/react",
|
|
core: {
|
|
builder: "storybook-builder-vite",
|
|
},
|
|
async viteFinal(config) {
|
|
config.plugins.push(svgrPlugin());
|
|
return config;
|
|
},
|
|
};
|