Skip to main content
PESDK/Web

AngularJS and IE11

PhotoEditor SDK needs to be transpiled for ES5 in order to work in IE11. You will require a browserlist file or entry in the package.json and the following snippet in your babel coniguration.

{
test: /\.js$/,
use: {
loader: "babel-loader",
options: {
presets: [["@babel/preset-env"]],
plugins: [
[
"@babel/plugin-transform-runtime",
{
regenerator: true,
},
],
],
},
},
include: [path.resolve(__dirname, "node_modules/photoeditorsdk")],
}