Skip to content

Conversation

@rahmatkurniawantiket
Copy link
Contributor

I'm facing this error while trying to run the sendbird using parcel v2.

based on this: https://developer.mozilla.org/en-US/docs/Web/CSS/@import

➜  demo git:(temp) ✗  yarn start
yarn run v1.22.11
$ parcel src/index.html
Server running at http://localhost:1234
🚨 Build failed.

@parcel/transformer-css: @import rules must precede all rules aside from @charset and @layer statements

  /demo/node_modules/@sendbird/uikit-react/index.css:223:8
    222 | 
  > 223 | @import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap");
  >     |        ^
    224 | :root {
    225 |   --sendbird-light-primary-500: #491389;

If this changes not release please decline it

External Contributions

This project is not yet set up to accept pull requests from external contributors.

If you have a pull request that you believe should be accepted, please contact
the Developer Relations team developer-advocates@sendbird.com with details
and we'll evaluate if we can setup a CLA to allow for the contribution.

For Internal Contributors

<TICKET_ID>

Description Of Changes

Add a brief description of the changes that you have involved in this PR

Types Of Changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply_

  • Bugfix
  • New feature
  • Documentation (correction or otherwise)
  • Cosmetics (whitespace, appearance (ex) Prettier)
  • Build configuration
  • Improvement (refactor code)

I'm facing this error while trying to run the sendbird using parcel v2.

based on this: https://developer.mozilla.org/en-US/docs/Web/CSS/@import

```shell
➜  demo git:(temp) ✗  yarn start
yarn run v1.22.11
$ parcel src/index.html
Server running at http://localhost:1234
🚨 Build failed.

@parcel/transformer-css: @import rules must precede all rules aside from @charset and @layer statements

  /demo/node_modules/@sendbird/uikit-react/index.css:223:8
    222 | 
  > 223 | @import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,700&display=swap");
  >     |        ^
    224 | :root {
    225 |   --sendbird-light-primary-500: #491389;

```

`If this changes not release please decline it`
@sravan-s sravan-s merged commit 527d9c5 into sendbird:develop-v3 Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants