Skip to content
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

Nuxt Edge : adding/handling babel polyfill? #3924

Closed
valeriosillari opened this issue Sep 20, 2018 · 6 comments
Closed

Nuxt Edge : adding/handling babel polyfill? #3924

valeriosillari opened this issue Sep 20, 2018 · 6 comments
Labels

Comments

@valeriosillari
Copy link

valeriosillari commented Sep 20, 2018

I am starting using Nuxt Edge and trying to update a project based on Nuxt 1.4.2.

On Nuxt v1 I've added the babel polyfill for a IE11 compatibility following documentation and info n the forum, and it works.
I've used to install the npm package, and the nuxt config file I added the babel polyfill as vendor.

Now on Nuxt Edge the vendors are gone.
When I run Nuxt, the CLI give me a warning about vendor: "vendor has been deprecated due to webpack4 optimization"

So my question is: how can add on Nuxt Edge Babel Polyfill?

Anyone could give me some tips?
I see articles where people talking about the removal of vendors, but I didn't find anything explaining how to handle the old dependencies using vendor …

thanks :)

This question is available on Nuxt community (#c7787)
@ghost ghost closed this as completed Sep 20, 2018
@ghost ghost added the cmty:question label Sep 20, 2018
@ghost
Copy link

ghost commented Sep 20, 2018

This issue as been imported as question since it does not respect nuxt.js issue template. Only bug reports and feature requests stays open to reduce maintainers workload.
If your issue is not a question, please mention the repo admin or moderator to change its type and it will be re-opened automatically.
Your question is available at https://cmty.app/nuxt/nuxt.js/issues/c7787.

@souljorje
Copy link

As i understand now we don't need to use it, it's already built in.

@voronianski
Copy link

I have the same question. My Nuxt@2 website is not working in IE11.

@hareku
Copy link

hareku commented Oct 20, 2018

Me too.
My nuxt2.2 project is not working in safari 9~10.

How do i fix?

@tarreislam
Copy link

tarreislam commented Nov 19, 2018

I have the same question. My Nuxt@2 website is not working in IE11.

This should fix that

in nuxt.config.js

head {
 ...
 meta: [
    {'http-equiv': 'X-UA-Compatible', content: 'IE=edge'}
  ]
}

@lock
Copy link

lock bot commented Dec 19, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Dec 19, 2018
@danielroe danielroe added the 2.x label Jan 18, 2023
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants