Open seanmorris opened 1 year ago
Working Lockfile: https://pastebin.com/UuipAhAK Broken Lockfile: https://pastebin.com/z1iYS1ck
It seems to be a bug with the new way strings are handled in anymatch 3.1.3. On line 50 of index.js, false
is now provided as the second parameter to normalizePath().
https://github.com/micromatch/anymatch/blob/master/index.js#L50
Adding the following values to the root level package.json
corrects the issue:
Note that npm install
must be run explicitly if node_modules
does not exists yet.
{
"overrides": {
"brunch": {"anymatch": "3.1.2"},
".": {"anymatch": "3.1.2"}
}
}
I've found the issue, submitted a patch, and alerted the maintainers of the dependency to watch their semver. https://github.com/brunch/brunch/pull/1891 https://github.com/micromatch/anymatch/issues/51
It's worth noting here that a workaround was committed in a20d6a2997da1a192bed80f6d1f3fc2815196692 and released in 4.0.2 (Jan 10).
Description
The assets directory is not being handled correctly in a new project.
Expected behavior
The index.html file should be built to the public/ directory.
Actual behavior
The index.html file is built to the public/assets/ directory.
Environment
package.json
contentsbrunch config contents
none