2022-06-17 16:23:04 +02:00
|
|
|
const TsconfigPathsPlugin = require("tsconfig-paths-webpack-plugin");
|
|
|
|
|
2022-03-08 11:50:34 +01:00
|
|
|
module.exports = {
|
2022-06-16 20:41:22 +02:00
|
|
|
stories: [
|
|
|
|
"../libs/components/src/**/*.stories.mdx",
|
|
|
|
"../libs/components/src/**/*.stories.@(js|jsx|ts|tsx)",
|
2022-06-17 16:23:04 +02:00
|
|
|
"../apps/web/src/**/*.stories.mdx",
|
|
|
|
"../apps/web/src/**/*.stories.@(js|jsx|ts|tsx)",
|
2022-06-16 20:41:22 +02:00
|
|
|
],
|
2022-04-08 17:47:32 +02:00
|
|
|
addons: [
|
|
|
|
"@storybook/addon-links",
|
|
|
|
"@storybook/addon-essentials",
|
|
|
|
"@storybook/addon-a11y",
|
|
|
|
"storybook-addon-designs",
|
|
|
|
],
|
2022-03-08 11:50:34 +01:00
|
|
|
framework: "@storybook/angular",
|
|
|
|
core: {
|
|
|
|
builder: "webpack5",
|
|
|
|
},
|
2022-06-17 16:23:04 +02:00
|
|
|
webpackFinal: async (config, { configType }) => {
|
|
|
|
config.resolve.plugins = [new TsconfigPathsPlugin()];
|
|
|
|
return config;
|
|
|
|
},
|
2022-03-08 11:50:34 +01:00
|
|
|
};
|