Title: SASS doesn't compile with 3rd party libraries · Issue #3683 · angular/angular-cli · GitHub
Open Graph Title: SASS doesn't compile with 3rd party libraries · Issue #3683 · angular/angular-cli
X Title: SASS doesn't compile with 3rd party libraries · Issue #3683 · angular/angular-cli
Description: Tried looking for this issue, but couldn't find it. EDIT: Found it now #2747 Currently unable to include a sass library that imports another sass library. Need a way to expose the webpack configuration to pass in a path to include possib...
Open Graph Description: Tried looking for this issue, but couldn't find it. EDIT: Found it now #2747 Currently unable to include a sass library that imports another sass library. Need a way to expose the webpack configura...
X Description: Tried looking for this issue, but couldn't find it. EDIT: Found it now #2747 Currently unable to include a sass library that imports another sass library. Need a way to expose the webpack confi...
Opengraph URL: https://github.com/angular/angular-cli/issues/3683
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SASS doesn't compile with 3rd party libraries","articleBody":"Tried looking for this issue, but couldn't find it. **EDIT: Found it now #2747**\r\n\r\nCurrently unable to include a sass library that imports another sass library. Need a way to expose the webpack configuration to pass in a path to include possibly.\r\n\r\n### OS?\r\nMac OSX (Sierra) 10.12.1\r\n\r\n### Versions.\r\nangular-cli: 1.0.0-beta.22-1\r\nnode: 6.9.1\r\nos: darwin x64\r\n\r\n### Repro steps.\r\nAdded this to `angular-cli.json`:\r\n```json\r\n \"styles\": [\r\n \"styles/main.scss\"\r\n ],\r\n```\r\n\r\n`styles/main.scss` imports a third party library which in itself imports a third party library `foundation-sites`. Look at the log below:\r\n\r\n### The log given by the failure.\r\n```\r\nHash: 96ac501307deff050924 i Time: 9373ms\r\nchunk {0} main.bundle.js, main.bundle.map (main) 363 kB {2} [initial]\r\nchunk {1} styles.bundle.js, styles.bundle.map (styles) 8.87 kB {3} [initial]\r\nchunk {2} vendor.bundle.js, vendor.bundle.map (vendor) 3.02 MB [initial] [rendered]\r\nchunk {3} inline.bundle.js, inline.bundle.map (inline) 0 bytes [entry]\r\n\r\nERROR in ./~/css-loader?sourcemap!./~/postcss-loader!./~/sass-loader?sourcemap!./src/styles/main.scss\r\nModule build failed:\r\n@import 'foundation-sites/scss/util/util';\r\n^\r\n File to import not found or unreadable: foundation-sites/scss/util/util\r\nParent style sheet: /Users/someuser/git/projects/some-project/node_modules/some-third-party-lib/scss/some-third-party-lib.scss\r\n in /Users/someuser/git/projects/some-project/node_modules/some-third-party-lib/scss/some-third-party-lib.scss (line 11, column 1)\r\n @ ./src/styles/main.scss 4:14-186\r\n @ multi styles\r\nwebpack: bundle is now VALID.\r\n```\r\n\r\n","author":{"url":"https://github.com/admosity","@type":"Person","name":"admosity"},"datePublished":"2016-12-21T17:05:52Z","url":"https://github.com/angular/angular-cli/issues/3683"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:49892b76-be8f-bd9a-3588-6ce7eb846db4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AAAC:FC5BE:35925A2:472B884:6B020249 |
| html-safe-nonce | 046e2f1d64deebd5ab4f19e36bd57885e066cc7d1d263ed29fbb2170a0af6772 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUFDOkZDNUJFOjM1OTI1QTI6NDcyQjg4NDo2QjAyMDI0OSIsInZpc2l0b3JfaWQiOiI3NjA1MDU2NzE2ODkxMzU3NzY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f05a042b877c73387a72f91c314cfed3d60e1c648068dddf4a84f3bfcdeb1f29 |
| hovercard-subject-tag | issue:196984290 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular-cli/3683/issue_layout |
| twitter:image | https://opengraph.githubassets.com/10bd3febca852206947de7fe55eb7b33fc4bd41fd1308a32bf0083c097261408/angular/angular-cli/issues/3683 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/10bd3febca852206947de7fe55eb7b33fc4bd41fd1308a32bf0083c097261408/angular/angular-cli/issues/3683 |
| og:image:alt | Tried looking for this issue, but couldn't find it. EDIT: Found it now #2747 Currently unable to include a sass library that imports another sass library. Need a way to expose the webpack configura... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | admosity |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width