Describe the bug
When I set the measure option to true. It will throw "nuxt.hook is not a function" error.
nuxt version: 2.14.4
nuxt-build-optimisations version: 1.5.0
To Reproduce
Steps to reproduce the behavior:
install nuxt-build-optimisations
set buildModules: ['nuxt-build-optimisations']
set buildOptimisations: { profile: 'safe', measure: true }
Expected behavior
Show SMP result and build successfully.
Screenshots
Additional context
If I remove measure option, it works fine.
Describe the bug When I set the measure option to true. It will throw "nuxt.hook is not a function" error. nuxt version: 2.14.4 nuxt-build-optimisations version: 1.5.0
To Reproduce Steps to reproduce the behavior:
Expected behavior Show SMP result and build successfully.
Screenshots
Additional context If I remove measure option, it works fine.