Ng-packagr: Handle standalone .scss files

Created on 1 Oct 2017  路  3Comments  路  Source: ng-packagr/ng-packagr

Type of Issue

  • [x] Feature Request

Description

How to handle .scss files that are not part of a component? An example would be the styles.scss file in an angular-cli project

How To Reproduce

If you build a folder that includes a unimported .scss file it will not show up in the dist folder

Expected Behaviour

The .scss file, or a compiled version of it, should show up in the dist folder

documentation question

All 3 comments

Hi @BioPhoton,

you can copy those "static" assets to the dist folder in a separate build steps.

Currently, there are no plans to include hooks for such assets that are not referenced by/included in the Angular package. Such "out-of-band" data should be handled independently of ng-packagr. See also #123

This is opportunistic, not a really good way. @dherges

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings