samples icon indicating copy to clipboard operation
samples copied to clipboard

WRQ-19494: css-loader v7 migration

Open hong6316 opened this issue 1 year ago • 0 comments

Checklist

  • [x] I have read and understand the contribution guide
  • [ ] A CHANGELOG entry is included
  • [ ] At least one test case is included for this feature or bug fix
  • [x] Documentation was added or is not needed
  • [ ] This is an API breaking change

Issue Resolved / Feature Added

css-loader v7 migration https://github.com/webpack-contrib/css-loader/releases/tag/v7.0.0

Resolution

Change import style

// Before
import style from "./style.css";

//After
import * as style from "./style.css";

Additional Considerations

  • Those changes should be descripted on migration guide, if decided to merge.
  • Those changes should be synced with tools including css-loader v7(cli, storybook-utils)

Links

WRQ-19494

Comments

Enact-DCO-1.0-Signed-off-by: Taeyoung Hong ([email protected])

hong6316 avatar May 24 '24 08:05 hong6316