Skip to content
This repository has been archived by the owner on Jun 14, 2020. It is now read-only.

Add support for performing SASS transpilation for some files and keep those outside of the production css bundle #106

Open
dsebastien opened this issue Mar 9, 2016 · 0 comments

Comments

@dsebastien
Copy link
Owner

Goal: allow to have application SASS files that are NOT imported in main.scss and that should not be bundled in bundle.min.css. One use case for this are files that should be used with styleUrls in Angular 2. If those files don't exist in production then styleUrls cannot be used and thus per-component style isolation is not possible to implement.

Possible implementation:

  • load all partial SASS files (i.e., starting with _) + main.scss
    • transpile those and bundle them in bundle.min.css
  • perform a second pass where all non-partial SASS files with the exception of main.scss
    • transpile those in place (just like in dev)

Reference: dsebastien/modernWebDevGenerator#94

@dsebastien dsebastien added this to the 0.5.1 milestone Mar 9, 2016
@dsebastien dsebastien modified the milestones: 0.5.2, 0.5.1, 0.5.3 Mar 9, 2016
@dsebastien dsebastien modified the milestones: 0.5.4, 0.5.3 Mar 27, 2016
@dsebastien dsebastien modified the milestones: 0.5.5, 0.5.4 Jun 11, 2016
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

1 participant