Comments (6)
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.
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.
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.
Had you tried to use funfix in an Angular 5 project with typescript (and webpack) ?
from funfix.
Hi @alexandru.
Finally, it woks on on IE11 with :
import * as core from "funfix-core/dist/es5"
Thanks again for your help :)
from funfix.
@tosun-si I'm very glad it worked.
Will close this for now.
Cheers,
from funfix.
Related Issues (20)
- TNone.value typed as undefined breaks the compilation HOT 1
- Add Semigroup HOT 1
- Help with compose and point free functions. HOT 1
- [Feature Request] Add a datastructure for Tuple HOT 5
- [v.6.2.2] export statement in es5.js
- Why do you have to create a success option manually with Option<T>.flatmap? HOT 1
- Right way to handle a Future that returns an either?
- Documentation is dead HOT 2
- implement bracket for resource usage HOT 7
- Add `uncancelable` for IO HOT 4
- Infinite loop in lerna project setup
- An in-range update of funland-laws is breaking the build 🚨 HOT 1
- Option.of is non-parametric HOT 4
- An in-range update of rimraf is breaking the build 🚨 HOT 1
- Is Validated/Validation out of scope for funfix-core HOT 1
- An in-range update of tsc-watch is breaking the build 🚨 HOT 1
- An in-range update of rollup-plugin-commonjs is breaking the build 🚨 HOT 1
- Use 7.0.1 funfix version in Angular based on Webpack HOT 2
- I think there's a bug inside `scheduleAtFixedRate` HOT 1
- Project status and future
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from funfix.