Coder Social home page Coder Social logo

ES5 build about vue-image-lightbox HOT 9 CLOSED

pexea12 avatar pexea12 commented on July 20, 2024
ES5 build

from vue-image-lightbox.

Comments (9)

imcvampire avatar imcvampire commented on July 20, 2024

Hi @ondrej-janosik, it already produces ES5 build! What is your problem when use it on IE11?

from vue-image-lightbox.

ondrej-janosik avatar ondrej-janosik commented on July 20, 2024

Are you sure? Because when I look into the distributed code, I can see object-shorthand, which is not supported by IE11.

image

from vue-image-lightbox.

imcvampire avatar imcvampire commented on July 20, 2024

Ah okay, thank you for the report! Let me see if I can do anything!

from vue-image-lightbox.

ondrej-janosik avatar ondrej-janosik commented on July 20, 2024

If you give me permission to create a PR, I have already fixed this issue locally. @imcvampire

from vue-image-lightbox.

imcvampire avatar imcvampire commented on July 20, 2024

@ondrej-janosik I think you can create a PR anytime you like, you just have to fork this project and push your new code to the your repo and create a PR from it to this repo

from vue-image-lightbox.

sven-ra avatar sven-ra commented on July 20, 2024

@ondrej-janosik Hello! How did you fix this locally?

from vue-image-lightbox.

djvov avatar djvov commented on July 20, 2024

I have already fixed this issue locally. @imcvampire

@ondrej-janosik Hello! How did you fix this?

from vue-image-lightbox.

ondrej-janosik avatar ondrej-janosik commented on July 20, 2024

Hi guys, if you use https://cli.vuejs.org/, you can use https://cli.vuejs.org/config/#transpiledependencies option. By default, babel-loader ignores all files inside node_modules. If you want to explicitly transpile this dependency with Babel, you can list it in this option. Otherwise, you can fork this library and adjust the babel settings https://github.com/pexea12/vue-image-lightbox/blob/master/.babelrc

@djvov @sven-ra

from vue-image-lightbox.

djvov avatar djvov commented on July 20, 2024

@ondrej-janosik

you can fork this library and adjust the babel settings

this works, thanks!

If you want to explicitly transpile this dependency with Babel, you can list it in this option.

which dependency I should wrote in this list?

from vue-image-lightbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.