Skip to content

chore(@ngtools/webpack): allow JSON files to be cacheable#7499

Closed
manekinekko wants to merge 1 commit intoangular:masterfrom
manekinekko:master
Closed

chore(@ngtools/webpack): allow JSON files to be cacheable#7499
manekinekko wants to merge 1 commit intoangular:masterfrom
manekinekko:master

Conversation

@manekinekko
Copy link
Copy Markdown
Contributor

Reason

Static JSON files put in the assets folder are not currently cacheable because they are ignore by the Webpack url-loader.

@filipesilva filipesilva self-assigned this Aug 25, 2017
@filipesilva filipesilva self-requested a review August 25, 2017 09:04
@filipesilva
Copy link
Copy Markdown
Contributor

Files and directories in the .angular-cli.json assets array are not meant to be processed through loaders.

I'm not too clear on what's the usecase you're trying to fix here, and what broken. Can you elaborate please? Opening an issue would be better than discussing here as well.

@manekinekko
Copy link
Copy Markdown
Contributor Author

Sure. See this related issue #7505

@angular-automatic-lock-bot
Copy link
Copy Markdown

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 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants