Configuration Breaking Change
Julien-R44
released this
17 Apr 21:01
·
29 commits
to main
since this release
Breaking Changes
-
c0defa6: From this commit, if you are using
--import=hot-hook/register
for using hot-hook, thepackage.json
's directory will be used for resolving glob patterns in theboundaries
config.That means, if you had a
package.json
with the following content, and a root entrypoint in./src/start.ts
, glob patterns were resolved from./src/start.ts
file :{ "name": "my-package", "version": "1.0.0", "hot-hook": { "boundaries": ["./controllers/**/*"] } }
This configuration was matching all files in the
./src/controllers
directory.To achieve the same result, you should now use the following configuration:
{ "name": "my-package", "version": "1.0.0", "hot-hook": { "boundaries": ["./src/controllers/**/*"] } }
Full Changelog: https://github.com/Julien-R44/hot-hook/compare/[email protected]@0.2.0