IE and Windows Edge barely qualify as browsers, but they are able to render HTML/CSS and execute JS, in a form. These modifications to the language help incapable browsers render websites.
It Works!
!legacy && babel({
extensions: ['.js', '.mjs', '.html', '.svelte'],
exclude: ['node_modules/@babel/**'],
plugins: [
'@babel/plugin-syntax-dynamic-import',
'@babel/plugin-proposal-object-rest-spread'
]
}),
npm run build:dev
Don't expect this to work in IE/Edge in dev mode.
npm run build # has shimport hack for easier debugging
node __sapper__/build