-
Notifications
You must be signed in to change notification settings - Fork 920
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
add manifest to webpack plugin #983
add manifest to webpack plugin #983
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/pikapkg/snowpack/r1186dnlb [update for e97b99c canceled] |
ebe56e0
to
eedd2cc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for remembering to add docs as well 👍 👍
args.manifest === true ? './asset-manifest.json' : `${args.manifest}`; | ||
|
||
const manifest = | ||
typeof args.manifest === string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@FredKSchott snowpack v2.10.2 may have broken on string vs 'string'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bah, thank you! my master was out of date when I released, and didn't pull in the fix for this in #1005 .
Just re-released with the fix
Changes
solve the issue #955.
I test it in a new
@snowpack/app-template-react
project by usingnpm link
. And then the generating manifest is as below.Testing