Storybook: @storybook/[email protected]์€ react-scripts@^1์˜ CSS ๋‚ด๋ถ€ ๊ฐ€์ ธ์˜ค๊ธฐ์™€ ํ•จ๊ป˜ ์ž‘๋™ํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

์— ๋งŒ๋“  2017๋…„ 05์›” 21์ผ  ยท  3์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: storybookjs/storybook

#1073์—์„œ ์ผ๋˜ ๊ฒƒ์ฒ˜๋Ÿผ(์ €๋Š” ์ƒˆ ๋ฌธ์ œ๋ฅผ ์—ด๋„๋ก ์š”์ฒญ๋ฐ›์•˜์Šต๋‹ˆ๋‹ค):

#1027๊ณผ ๊ด€๋ จ์ด ์žˆ์„ ์ˆ˜ ์žˆ์Œ

๊ทธ๋Ÿฌ๋‚˜ CSS์— ๊ด€ํ•ด์„œ๋Š” react-scripts@^1 ์™€ ํ˜ธํ™˜๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ๋‹ค๋ฅธ CSS ํŒŒ์ผ์„ ๊ฐ€์ ธ์˜ค๋Š” CSS ํŒŒ์ผ์ด ์žˆ๋Š” ๊ฒฝ์šฐ ๋‹ค์Œ ์˜ค๋ฅ˜์™€ ํ•จ๊ป˜ ์ค‘๋‹จ๋ฉ๋‹ˆ๋‹ค.

ERROR in ./~/css-loader?{"importLoaders":1}!./~/postcss-loader/lib?{"plugins":[null]}!./src/stories/blah.css
Module build failed: TypeError: Cannot read property 'postcss' of null

์ฝ”๋“œ ์˜ˆ:

/* a.css */
<strong i="12">@import</strong> "./b.css";
/* b.css */

:root {
  /* ... */
}
// Story file
import "./a.css";

๋” ํ•„์š”ํ•œ ์ •๋ณด๊ฐ€ ์žˆ์œผ๋ฉด ์•Œ๋ ค์ฃผ์‹ญ์‹œ์˜ค.

babel / webpack bug compatibility with other tools

๊ฐ€์žฅ ์œ ์šฉํ•œ ๋Œ“๊ธ€

๋‚˜๋Š” ์ด๊ฒƒ์„ ์กฐ์‚ฌํ•  ๊ฒƒ์ด๋‹ค.

๋ฌธ์ œ๋ฅผ ์žฌํ˜„ํ–ˆ์Šต๋‹ˆ๋‹ค.

ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์ด ์žˆ์Šต๋‹ˆ๋‹ค!

๋ชจ๋“  3 ๋Œ“๊ธ€

@oriSomething ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค! ์‚ดํŽด๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค!

๋‚˜๋Š” ์ด๊ฒƒ์„ ์กฐ์‚ฌํ•  ๊ฒƒ์ด๋‹ค.

๋ฌธ์ œ๋ฅผ ์žฌํ˜„ํ–ˆ์Šต๋‹ˆ๋‹ค.

ํ•ด๊ฒฐ ๋ฐฉ๋ฒ•์ด ์žˆ์Šต๋‹ˆ๋‹ค!

์ง€๊ธˆ ์ˆ˜์ •ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

Successfully published:
 - @storybook/[email protected]
 - @storybook/[email protected]
 - @storybook/[email protected]
 - @storybook/[email protected]
 - @storybook/[email protected]
 - @storybook/[email protected]
 - @storybook/[email protected]
 - @storybook/[email protected]
 - @storybook/[email protected]
 - @storybook/[email protected]
 - @storybook/[email protected]
์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰