Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bit should recognize scoped npm id's inside @import #2239

Closed
odedre opened this issue Jan 12, 2020 · 1 comment
Closed

bit should recognize scoped npm id's inside @import #2239

odedre opened this issue Jan 12, 2020 · 1 comment

Comments

@odedre
Copy link
Member

odedre commented Jan 12, 2020

Steps to Reproduce

  1. npm install a scss styles file (npm i @bit/bit.frosting.theme.z-indexes)
  2. import inside a sass file (@import '~@bit/bit.frosting.theme.z-indexes')
  3. add sass file to component
  4. run bit status

Expected Behavior

bit should resolve all dependencies

Screenshots, exceptions and logs

missing packages dependencies (use your package manager to make sure all package dependencies are installed): 
          src/components/Theme/floating-container/flavors/flavors.scss -> ~@bit, ~@bit, ~@bit, ~@bit
          src/components/Theme/floating-container/styles.scss -> ~@bit, ~@bit, ~@bit

Specifications

  • Bit version: 14.7.1
  • Node version: v10.15.3
  • npm / yarn version: 1.13.0
  • Platform: macos
  • Bit compiler (include version): bit.frosting/compilers/react-flow
@GiladShoham
Copy link
Member

@odedre Thanks. it's a bug. we will address it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants