-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internet Explorer #44
Comments
is there more stack trace of this error? we need more info.. I dont see this piece of this code in the source |
I solved this problem. The error comes from library I use transpilation for |
but this project does not use this module right? |
Yes, it is used by JS lib. |
@VBukharov can you please share the configuration for transpilation, since I have exactly the same issue. |
Hi! I installed additional dependencies in package.json: "devDependencies": {
"@angular-builders/custom-webpack": "^7.5.2",
"@angular-builders/dev-server": "^7.3.1",
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"babel-loader": "^8.0.6"
} fixed configuration in "architect": {
"build": {
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"customWebpackConfig": {
"path": "./webpack.config.js",
"replaceDuplicatePlugins": true
}, and added /**
* Additional configuration for webpack.
*
* @type {module:path}
*/
const path = require('path');
/**
* Contains webpack loader for ES6 code transpiling.
* Work around for IE11
*/
module.exports = {
module: {
rules: [
{
test: /\.m?js$/,
include: [
path.resolve(__dirname, 'node_modules', 'vanilla-picker')
],
loader: 'babel-loader',
options: {
presets: [
[
'@babel/preset-env', {
targets: {
ie: 11
}
}
]
]
}
}
]
}
}; |
@VBukharov you saved my day! Many thanks. |
Thanks!! I included this guide in the Readme |
Yes, I know, but still... Do you support IE 11?
JS lib said
I tried to run a demo in IE and it fails with an error.
When I add
NgJsonEditorModule
inapp-module.ts
my application fails in IE with error:In other browsers, it runs fine.
Can you help me with this?
The text was updated successfully, but these errors were encountered: