feat(design-system,editor-ui): upgrade some of the frontend dev dependencies (#3978)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-08-31 15:47:33 +02:00
committed by GitHub
parent 398adb23e8
commit b428e9fb9f
6 changed files with 317 additions and 1598 deletions

View File

@@ -1,14 +1,25 @@
const path = require('path');
/**
* @type {import('@storybook/core-common').StorybookConfig}
*/
module.exports = {
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
{
name: '@storybook/addon-postcss',
options: {
postcssLoaderOptions: {
implementation: require('postcss'),
},
}
},
'storybook-addon-designs',
'storybook-addon-themes',
],
webpackFinal: async (config, { configType }) => {
webpackFinal: async (config) => {
config.module.rules.push({
test: /\.scss$/,
oneOf: [
@@ -37,7 +48,7 @@ module.exports = {
config.resolve.alias = {
...config.resolve.alias,
"@/": path.resolve(__dirname, "../src/"),
'@/': path.resolve(__dirname, '../src/'),
};
return config;