John Crim

Results 103 comments of John Crim

My preference, given a shallow understanding of the architecture, is option 2 - "watch all folders containing files which are read". Ideally there would be a way for modules to...

I added logging to help if `useESModules` is true, but `node --experimental-vm-modules` was not set: ``` ❯ stencil test --spec [31:01.5] @stencil/core [31:01.8] [LOCAL DEV] [31:01.9] testing spec files [31:02.0]...

The old UserVoice issue was closed - the new [UserVoice issue is here](https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/31368127-create-a-javascript-project-type). I think a typescript-specific project type would be useful (with the typescript configuration in one or more...

For anyone wanting to use TagHelpers on their wyam site, I had to: Add this to `config.wyam`: ``` #n Microsoft.AspNetCore.Mvc.TagHelpers -v [2.1.1] ``` Create a `_ViewImports.cshtml` file, containing: ``` @addTagHelper...

In case it's helpful, here's another popular library fixing the same issue. It looks like the first try didn't work; so this is something that would need to be tested...

This could be closed (though I'm not sure whether it _should_ be), since the deprecation in node was reversed: > > Some relevant PRs from node repo: > nodejs/node#35747 >...

Node has [documented their logic for determining whether a module is CJS or ESM](https://nodejs.org/api/packages.html#determining-module-system). This appears to be what other other projects, [eg jest](https://jestjs.io/docs/ecmascript-modules), are using to determine what type...

@ahnpnl - I thought you might want to chime in on this issue, since you've done some work to special-case handling of tslib.

Hi @wmertens - there are 2 fixes I've used: 1. Explicitly link tslib.es6.js in your jest.config.js `moduleNameMapper` section, eg: ```js ... moduleNameMapper: { tslib: 'tslib/tslib.es6.js', } ... ``` This is...

I opened #173 before seeing this thread. Would it be possible to rename tslib.es6.js to tslib.mjs (that would address the node resolution logic when resolving ES modules)? I've stepped through...