Comments (6)
Current scaffolding is updated to use ES2017 by default, which has native async/await support.
from new.
Any update on this? :D I created a site using the npx makes aurelia
skeleton (using typescript + webpack) and it does not load in IE11. tsconfig.json targets ES2017 but changing that to es5 does not help since the deps aren't transpiled to es5. I get this error:
SCRIPT1002: Syntax error
entry-bundle.js (130,27)
The code that it can't handle is an arrow function imported from the @aurelia package (row 130 is the middle row with the arrow function):
function enableImprovedExpressionDebugging() {
astTypeMap.forEach(x => { adoptDebugMethods(x.type, x.name); });
}
from new.
There is nothing we can do in this repo, because currently Aurelia 2 npm packages dist files are not compiled to support IE11.
@fkleuver has plan to provide IE11 compatible dist files. But it's not a high priority now.
If your production app needs to support IE11, I am afraid Aurelia 2 is not the best choice, at least for now.
from new.
It's not only transpiling to es5, but also many polyfills for IE11.
Especially Aurelia 2 uses reflect metadata APIs which is very new in JS standard.
from new.
There is nothing we can do in this repo, because currently Aurelia 2 npm packages dist files are not compiled to support IE11.
Correct, this is a problem to be solved in the aurelia repo. However, once we support IE11 we'll probably distribute those files separately because they would be limiting factors for performance and certain features (e.g. proxies). Will there be a facility to conditionally target one set of dist files vs. the other @3cp ?
from new.
conditionally target one set of dist files
That's bundler's responsibility. Yes, all bundlers have some kind of custom config to support that.
from new.
Related Issues (20)
- New project from npx makes fails HOT 2
- Webpack 5 live reload not working HOT 9
- webpack-dev-server v4.0.0-beta.0 broke our CI HOT 1
- Add skeleton for plugin project.
- including static files in build HOT 2
- Error: Cannot access 'CustomElement' before initialization HOT 12
- replace lesslint by stylelint HOT 2
- Add source maps for Typescript projects HOT 2
- TODO: turn on import helpers in transpiling
- TODO: decide a simple default approach for handling assets HOT 1
- Dumber and monorepo HOT 6
- Include favicon.ico HOT 1
- Properly support silent mode HOT 3
- Support default Yarn mode (PnP) properly (version 2.x or higher) HOT 6
- Support Vite HOT 2
- Latest Aurelia build breaks browser test with jasmine/mocha + parcel HOT 3
- DevAliases cause waring/error to be shown in console HOT 4
- Update babel setup for decorator, remove legacy
- Unit test example code is way out of date HOT 1
- ShadowDOM shared css loading only works with webpack.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from new.