We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I am grateful for your contributions. 🙏
I found a bug after I run `yarn build‵
"kucrut/vite-for-wp": "^0.8.0"
manifest.json will be created in dist/.vite directory which is WRONG
manifest.json
dist/.vite
function get_manifest will try to find the manifest file in __DIR__ . '/js/dist', NOT in __DIR__ . '/js/dist/.vite'
__DIR__ . '/js/dist'
__DIR__ . '/js/dist/.vite'
That will cause an error, lead to empty assets, so the built js won't be enqueue.
"kucrut/vite-for-wp": "^0.5.2"
It seems the manifest.json will be created in dist/.vite in vite 5
reference nystudio107/craft-vite#77 https://www.drupal.org/project/vite/issues/3401054
The text was updated successfully, but these errors were encountered:
I resolve this with this commonJS temporary.
move dist/.vite/manifest.json to dist/manifest.json
dist/.vite/manifest.json
dist/manifest.json
https://github.com/j7-dev/wp-react-plugin/blob/master/release/mv-manifest.cjs
Sorry, something went wrong.
This is fixed in #92.
No branches or pull requests
Hello,
I am grateful for your contributions. 🙏
I found a bug after I run `yarn build‵
Problem in
"kucrut/vite-for-wp": "^0.8.0"
manifest.json
will be created indist/.vite
directory which is WRONGfunction get_manifest will try to find the manifest file in
__DIR__ . '/js/dist'
, NOT in__DIR__ . '/js/dist/.vite'
That will cause an error, lead to empty assets, so the built js won't be enqueue.
No problem in
"kucrut/vite-for-wp": "^0.5.2"
Update
It seems the
manifest.json
will be created indist/.vite
in vite 5reference
nystudio107/craft-vite#77
https://www.drupal.org/project/vite/issues/3401054
The text was updated successfully, but these errors were encountered: