You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experimenting with Safari 10.1 and so far looking good, I am so happy to get rid of /// <amd-module name="i_hate_doing_this"/> and all the requirejs shenanigans
Suggestion a new module mode named es2015.js that just replaces import 'menu' to import './menu.js' on compile time. PS also notice the required ./ part not only .js
PS I made a working Safari 10.1+ demo at https://github.com/gertcuykens/mollie-api-go Com'on TypeScript don't let me down on this, we are this close to getting rid of the webpack familie.
The text was updated successfully, but these errors were encountered:
I asked about this when module resolution started to support baseUrl + path mapping. This was basically the answer - #5039 (comment). Maybe it could be revisited though.
I'm experimenting with Safari 10.1 and so far looking good, I am so happy to get rid of
/// <amd-module name="i_hate_doing_this"/>
and all the requirejs shenanigansBasically you just do
in your html and we are in es2015 module world, FINALLY!
now the me starting to panic part, Safari 10.1 wants
import './menuelement.js';
notimport 'menuelement';
Went trough https://www.typescriptlang.org/docs/handbook/module-resolution.html and I didn't notice mention of this.
Suggestion a new module mode named
es2015.js
that just replacesimport 'menu'
toimport './menu.js'
on compile time. PS also notice the required./
part not only.js
PS I made a working Safari 10.1+ demo at https://github.com/gertcuykens/mollie-api-go Com'on TypeScript don't let me down on this, we are this close to getting rid of the webpack familie.
The text was updated successfully, but these errors were encountered: