11
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Storybookのキャッシュ削除

Posted at

解決したいこと

  • storybookのキャッシュを削除したい

背景

  • storybookのビルドで以下の警告が出ため対処したが、確認でstorybookのキャッシュにより再現されなかった
node_modules/xxxxx Though the "loose" option was set to "false" in your @babel/preset-env config, it will not be used for @babel/plugin-proposal-private-property-in-object since the "loose" mode option was set to "true" for @babel/plugin-proposal-private-methods.
The "loose" option must be the same for @babel/plugin-proposal-class-properties, @babel/plugin-proposal-private-methods and @babel/plugin-proposal-private-property-in-object (when they are enabled): you can silence this warning by explicitly adding
 ["@babel/plugin-proposal-private-property-in-object", { "loose": true }]

方法

rm -rf node_modules/.cache/storybook

参考

その他

  • 検索してもすぐに回答にたどりつけなかったので投稿することにしました。

いつもQiitaにはお世話になってます。

11
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?