Skip to content

file-replacements not work in scss #18585

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

Closed
2 of 15 tasks
xiaoxiangmoe opened this issue Aug 20, 2020 · 2 comments
Closed
2 of 15 tasks

file-replacements not work in scss #18585

xiaoxiangmoe opened this issue Aug 20, 2020 · 2 comments

Comments

@xiaoxiangmoe
Copy link

xiaoxiangmoe commented Aug 20, 2020

🐞 Bug report

Command (mark with an x)

  • new
  • build
  • serve
  • test
  • e2e
  • generate
  • add
  • update
  • lint
  • xi18n
  • run
  • config
  • help
  • version
  • doc

🔬 Minimal Reproduction

https://github.com/xiaoxiangmoe/angular-file-replacements-scss-error

Description

run yarn start -c serve

"serve":{
  "fileReplacements": [
    {
      "replace": "src/app/app-color.ts",
      "with": "src/app/app-color-replace.ts"
    },
    {
      "replace": "src/app/_app-color.scss",
      "with": "src/app/_app-color-replace.scss"
    }
  ]
}

fileReplacements in ts works, but fileReplacements in scss don't work.

image

If it works, the color should be green.

@alan-agius4
Copy link
Collaborator

Duplicate of #11451

@alan-agius4 alan-agius4 marked this as a duplicate of #11451 Aug 20, 2020
@angular-automatic-lock-bot
Copy link

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

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants