Skip to content
This repository was archived by the owner on Jun 29, 2022. It is now read-only.

Commit b37ba76

Browse files
committed
fix(storybook): build w/o postcss
1 parent 1a92321 commit b37ba76

File tree

5 files changed

+51
-23775
lines changed

5 files changed

+51
-23775
lines changed

.github/workflows/storybook.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
push:
55
branches:
66
- main
7-
paths: ['stories/**', 'src/components/**']
7+
paths: ['src/stories/**', 'src/components/**']
88

99
jobs:
1010
build-and-deploy:

.storybook/main.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
const WindiCSS = require('windicss-webpack-plugin').default;
22

33
module.exports = {
4-
stories: ['../stories/**/*.stories.mdx', '../stories/**/*.stories.@(js|jsx|ts|tsx|svelte)'],
4+
features: {
5+
postcss: false,
6+
},
7+
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx|svelte)'],
58
addons: ['@storybook/addon-links', '@storybook/addon-essentials', '@storybook/addon-svelte-csf'],
69
svelteOptions: {
710
preprocess: require('svelte-preprocess')(),

0 commit comments

Comments
 (0)