Coder Social home page Coder Social logo

Comments (6)

alexandru avatar alexandru commented on May 20, 2024

Hi @tosun-si, not sure what to tell you, but Funfix does not use Webpack in its bundle, so it's probably your setup.

One thing you could try, if you're using Webpack, is to use the ES5 bundle ... this means importing dist/es5 instead of your import. This bundle was made for Webpack compatibility btw.

Also I have the feeling that you're importing funfix-core/dist/std, but you shouldn't depend directly on files like that. funfix-core is small enough and if you're using Webpack you probably want to use its minifier anyway.

So try this:

import { ... } from "funfix-core/dist/es5"

And let me know.

from funfix.

alexandru avatar alexandru commented on May 20, 2024

PS: it might work fine in Firefox and Chrome for the sole reason that these are modern browsers supporting ES2015 features. Which is why you need the es5 bundle ;-)

from funfix.

tosun-si avatar tosun-si commented on May 20, 2024

Hi @alexandru.
Thank you very much for your help.

I tried with import { ... } from "funfix-core/dist/es5" but i have the same problem.

from funfix.

tosun-si avatar tosun-si commented on May 20, 2024

Had you tried to use funfix in an Angular 5 project with typescript (and webpack) ?

from funfix.

tosun-si avatar tosun-si commented on May 20, 2024

Hi @alexandru.

Finally, it woks on on IE11 with :

import * as core from "funfix-core/dist/es5"

Thanks again for your help :)

from funfix.

alexandru avatar alexandru commented on May 20, 2024

@tosun-si I'm very glad it worked.

Will close this for now.

Cheers,

from funfix.

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.