Continue organization
This commit is contained in:
parent
4898382f78
commit
b012f8295b
152 changed files with 21348 additions and 18 deletions
27
apps/leafcutter/.storybook/main.js
Normal file
27
apps/leafcutter/.storybook/main.js
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
const path = require("path");
|
||||
const toPath = (filePath) => path.join(process.cwd(), filePath);
|
||||
|
||||
module.exports = {
|
||||
stories: [
|
||||
"../stories/**/*.stories.mdx",
|
||||
"../stories/**/*.stories.@(js|jsx|ts|tsx)",
|
||||
],
|
||||
addons: [
|
||||
"@storybook/addon-docs",
|
||||
"@storybook/addon-links",
|
||||
"@storybook/addon-essentials",
|
||||
],
|
||||
webpackFinal: async (config) => {
|
||||
return {
|
||||
...config,
|
||||
resolve: {
|
||||
...config.resolve,
|
||||
alias: {
|
||||
...config.resolve.alias,
|
||||
"@emotion/core": toPath("node_modules/@emotion/react"),
|
||||
"emotion-theming": toPath("node_modules/@emotion/react"),
|
||||
},
|
||||
},
|
||||
};
|
||||
},
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue