valantic / vue-template

A custom Vue.js boilerplate based on webpack.
MIT License
7 stars 4 forks source link

resolve warning for dynamically and statically imports #353

Closed mob8607 closed 7 months ago

mob8607 commented 10 months ago

Currently we have two warnings about imports. Check npm run test if you try to resolve them.


(!) /Users/mathiasober/Development/valantic/vue-template/src/translations/de.json is dynamically imported by /Users/mathiasober/Development/valantic/vue-template/src/setup/i18n.ts but also statically imported by /Users/mathiasober/Development/valantic/vue-template/src/setup/i18n.ts, dynamic import will not move module into another chunk.```

```[plugin:vite:reporter]
(!) /Users/mathiasober/Development/valantic/vue-template/src/stores/plugins/api.ts is dynamically imported by /Users/mathiasober/Development/valantic/vue-template/src/setup/i18n.ts but also statically imported by /Users/mathiasober/Development/valantic/vue-template/src/main.ts, dynamic import will not move module into another chunk.```
mob8607 commented 7 months ago

Could not reproduce this anymore