All Questions
39
questions
2
votes
0
answers
1k
views
Webpack 5 won't transpile to ES5 for Internet Explorer 11
I'm trying to create a webpack 5 : babel 7 configuration that transpiles down to es5 that IE11 can read. It's a static site that uses vue.js.
I've got it building successfully, but it's not doing some ...
-1
votes
1
answer
231
views
Tempus Dominus v6.0 and IE11 [closed]
I'm attempting to use the new Tempus Dominus 6 datepicker, which is great in Chrome but doesn't like IE11 because of the presence of class syntax.
Is Babel the only/best way of handling the ...
1
vote
1
answer
497
views
Does Webpack's ( target: ['web', 'es5'] ) Replace Babel for IE11 support?
IE11 supports es5, So can target: ['web', 'es5'] in webpack.config.js replace Babel polyfills, core-js, @preset-env. and all these complex configurations ?
-1
votes
1
answer
355
views
how can I use babel stand alone in ie11
I am attempting to use babel stand alone.
everything works fine until ie11. in ie11 I get a blank page and can find no erors.
run snippet below.
<link rel="stylesheet" href="https://maxcdn....
0
votes
0
answers
252
views
Babel doesn't work with IE11 on built in class Map extending
I have some legacy code, a class ExtraMap that extends built-in Map class.
export class ExtraMap<K, V> extends Map<K, V> {
getOr(key: K, or: OrFunctionType = defaultOrFunction): V {
...
0
votes
1
answer
1k
views
SCRIPT1010: Expected identifier Error when running React app in IE11
I'm working on React app with webpack and babel. When running it on IE11 "SCRIPT1010: Expected identifier" error messages appear. I've solved most of these errors (e.g I've added @babel/...
2
votes
1
answer
4k
views
How to use babel with webpack for ie11 compatibility
It's the first time i use webpack with babel, my goal is to make my small template app compatible with ie11.
For some reason I ignore, my JS does not work at all in ie11 even though I did set it as a ...
-1
votes
1
answer
221
views
Babel support explorer 11
My goal is to use ES6+, And still support Explorer 11.
I understand Babel provides the answer to purpose.
On the official website of Babel: https://babeljs.io/
I wrote an example:
I would expect the ...
5
votes
1
answer
5k
views
How to create IE11 Bundles with Webpack 5 and Babel 7
How can we compile modern JavaScript into backwards-compatible JavaScript bundles that can be used with Internet Explorer 11 (ie11)? Specifically, how can we do this with the latest versions of ...
1
vote
1
answer
3k
views
Converting a JavaScript file with Babel for use in IE11
I have a JavaScript file mystuff.js which throws errors in IE11 (due to for..of loops, etc).
So I try to convert it with Babel for use in IE11. However the output from Babel does not seem to be IE11-...
2
votes
1
answer
7k
views
What does this SCRIPT1002: Syntax error in IE11 mean? (Vue)
I've made a web app in Vue.JS and it won't compile in IE11, it just shows a blank page.
I have used babel's polyfill, however it still does not work.
The error is:
SCRIPT1002: Syntax error
chunk-...
0
votes
0
answers
242
views
Calling delete on 'slice' is not allowed in strict mode
I got this error only in IE-11 otherwise my React app is working fine in all browsers.This error (Calling delete on 'slice' is not allowed in strict mode.) is coming in the developer console and my ...
14
votes
2
answers
24k
views
How to use babel/corejs3/webpack correctly for IE11?
With my current config (see below), I'm getting this error:
[object Error]{description: "Argument ob...", message: "Argument ob...", name: "TypeError", number: -2147418113, stack: "TypeError: ...",...
0
votes
1
answer
135
views
Javascript custom class method cannot call another method in same class after using Babel
I'm somewhat new to JS programming, so forgive me if this is simple... But I have created a class with various methods and properties. However, this code must run on IE11, so I used Babel to target ...
0
votes
1
answer
1k
views
Using a standalone ES6 module in IE11
I have a small ES6 module I wrote that needs to now be integrated into a project that has to support IE11. The rest of the project is written in ES5 and ideally I'd like to just transpile my module ...