Commit 476fb3d
Merge #253
253: fix: include `assets/search.svg` in npm release r=bidoubiwa a=TonyRL
# Pull Request
## What does this PR do?
Fixes `asset/search.svg` being [excluded](a219761) from npm release.
<!-- Please link the issue you're trying to fix with this PR, if none then please create an issue first. -->
### Steps to reproduce
1. Follow the official [guide](https://docs.meilisearch.com/learn/cookbooks/search_bar_for_docs.html#for-vuepress-documentation-sites) to add the plugin
2. Run `yarn docs:build`
3. Expect the following error messages
```bash
(undefined) ./node_modules/vuepress-plugin-meilisearch/MeiliSearchBox.vue?vue&type=style&index=0&id=512bb40d&prod&lang=stylus& (./node_modules/mini-css-extract-plugin/dist/loader.js!./node_modules/css-loader/dist/cjs.js??ref--13-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--13-oneOf-1-2!./node_modules/stylus-loader??ref--13-oneOf-1-3!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./node_modules/vuepress-plugin-meilisearch/MeiliSearchBox.vue?vue&type=style&index=0&id=512bb40d&prod&lang=stylus&)
Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js):
ModuleNotFoundError: Module not found: Error: Can't resolve './assets/search.svg'
```
## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?
Thank you so much for contributing to Meilisearch!
Co-authored-by: Tony <TonyRL@users.noreply.github.com>1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments