-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
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
WARN vendor has been deprecated due to webpack4 optimization #5544
Comments
remove the |
Any other solution for build js libs on client side, excluding mode: 'client' (ssr: false)? |
@rs-8 If you have big vendors, you can use dynamic import. Webpack automatically splits vendors into separate chunks when needed BTW. |
import in the component doesn't work( |
@rs-8 How do you register plugin? Can you please share |
Now its only work if i put in the component:
also:
and nuxt config: |
I know about vue-dropzone. but i dont like it |
When you specify |
What should the working solution look like?) |
@rs-8 same as you mentioned in #5544 (comment) is the solution: const Dropzone = process.client ? require('dropzone') : undefined; Plugins are useful if:
|
Version
v2.6.2
Reproduction link
#2201 (comment)
Steps to reproduce
Nuxt.js v2.6.2-25915688.22138535
...
What is expected ?
Wanted not to see the message
WARN vendor has been deprecated due to webpack4 optimization
What is actually happening?
I do not know how to write in nuxt.config.js or is nuxt.js not doing this inside automatically?
Additional comments?
It's from #2201 (comment)
The text was updated successfully, but these errors were encountered: