compatibility mode not accurately emulating IE.
See original GitHub issueI changed our local es-dev-server to use build files from rollup and am getting errors with the legacy version loading in IE 11. I’d suggest we change es-dev-server to act like angular’s local dev server that compiles source files and outputs everything.
Aditionally, I have an error with my build output where the following error appears in IE when I import the component.
Unhandled promise rejection TypeError: @@toPrimitive must return a primitive value.
I am bundling chart.js which is just an import inside my web component. The chartjs import is a bundled file from another rollup output by the author. Anybody know how I can ignore my rollup configuration from ignoring and rollup transformations on that and just adding it to the output?
Following is my rollup config:
// import createDefaultConfig from '@open-wc/building-rollup/modern-and-legacy-config';
import { createCompatibilityConfig } from '@open-wc/building-rollup';
import replace from 'rollup-plugin-replace';
import typescript from '@rollup/plugin-typescript';
import babel from 'rollup-plugin-babel';
// if you need to support IE11 use 'modern-and-legacy-config' instead.
// import createDefaultConfig from '@open-wc/building-rollup/modern-and-legacy-config';
const configs = createCompatibilityConfig({
production: true,
input: './index.html',
outputDir: 'dist-dev',
plugins: [
replace({
'process.env.NODE_ENV': 'production',
}),
babel({}),
typescript(),
],
extensions: ['.js', '.ts', '.mjs'],
});
export default configs.map(config => ({
...config,
output: {
...config.output,
entryFileNames: '[name].js',
chunkFileNames: '[name].js',
},
}));
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (9 by maintainers)
Top Results From Across the Web
Internet Explorer (IE) mode troubleshooting and FAQ
Troubleshooting guide and FAQ for Microsoft Edge Internet Explorer mode.
Read more >How To: Change Emulation Mode in Internet Explorer to Load ...
Tips and tricks to change the emulation mode in Internet Explorer and Edge ... Explorer or Edge browser is dropped into compatibility mode....
Read more >Online Course does not work in Internet Explorer but works in ...
Compatibility Mode (Catalog) There is a compatibility mode field that can be set at the LO level from within your course catalog >...
Read more >How to enable IE Mode on Microsoft Edge - Pureinfotech
On Windows 11 (and 10), the Microsoft Edge version based on the Chromium engine includes a compatibility mode using the Internet Explorer ......
Read more >Why IE11 in WIN10 does not contain emulation to EDGE ...
Actually, that's a naming issue. Prior to Windows 10 when the Edge browser started, the compatibility modes listed the latest version (version ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks a lot for that clarification
Going to close this one as there isn’t an actionable item for us here.