Open charlie17 opened 3 years ago
Module version 1.11.3
Describe the bug Treeshaking seems to not be functioning when deployment target is static
static
To Reproduce
create nuxt-app
yarn generate
yarn build --analyze
treeShake: true
nuxt.config.js
Expected behavior Treeshaking to function as expected
Same issue. This is also confirmed by https://stackoverflow.com/questions/60022986/smallest-possible-vuetify-css-js-size-0-5mb
Module version 1.11.3
Describe the bug Treeshaking seems to not be functioning when deployment target is
static
To Reproduce
create nuxt-app
, select Vuetify as UI framework, select Universal rendering mode, select Static deployment target, skip all other optionsyarn generate
- resulting dist folder is 1.47MB in size (yarn build --analyze
reveals 627k of that is Vuetify)treeShake: true
to Vuetify block ofnuxt.config.js
- no differenceExpected behavior Treeshaking to function as expected