Skip to content

Conversation

targos
Copy link
Member

@targos targos commented Feb 18, 2021

It is used to bypass the require cache, but this is not necessary as we
can just read the JSON files using fs-extra.
import-fresh uses a deprecated Node.js API. This is why I suggest to remove it.

Refs: https://nodejs.org/dist/latest-v15.x/docs/api/deprecations.html#DEP0144

It is used to bypass the require cache, but this is not necessary as we
can just read the JSON files using fs-extra.
`import-fresh` uses a deprecated Node.js API. This is why I suggest to remove it.

Refs: https://nodejs.org/dist/latest-v15.x/docs/api/deprecations.html#DEP0144
@thetutlage thetutlage merged commit 7dcaeae into adonisjs:develop Feb 18, 2021
@thetutlage
Copy link
Member

Thanks 😎

@targos targos deleted the remove-import-fresh branch February 18, 2021 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants