Skip to content
This repository was archived by the owner on Dec 8, 2022. It is now read-only.

Builder for Libraries does not properly support recommend pattern for importing skyux assets #1740

Closed
Blackbaud-TomRamsey opened this issue Jun 15, 2018 · 0 comments

Comments

@Blackbaud-TomRamsey
Copy link
Contributor

Expected behavior

@import "~@blackbaud/skyux/dist/scss/variables";

should work in an scss file in a skyux library

Actual behavior

uncaughtException: File to import not found or unreadable: ~@blackbaud/skyux/dist/scss/variables.

Steps to reproduce

  1. Create a skyux library
  2. Create an scss file, which uses "@import "~@blackbaud/skyux/dist/scss/variables";"
  3. skyux build succeeds
  4. skyux build-public-library fails

Workaround

@import "node_modules/@blackbaud/skyux/dist/scss/variables";

@Blackbaud-TomRamsey Blackbaud-TomRamsey changed the title Builder for Libraries does not properly recommend pattern for importing skyux assets Builder for Libraries does not properly support recommend pattern for importing skyux assets Jun 15, 2018
@Blackbaud-SteveBrush Blackbaud-SteveBrush self-assigned this Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants