Marty Nelson

Results 13 comments of Marty Nelson

Still an issue, this library won't work when used with node.js' `import`. I tried monkeying with the package.json to use the `.es5` build as the `main` and set `"type": "module"`....

I noticed from [this issue on astro](https://github.com/withastro/astro/issues/3338) that there is some effort to make the builder solid sdk ESM compatible. Any idea when this might land in react sdk?

> Alternatively (and recommended) add explicit references to the reference file That's where I arrived at yesterday. I don't mind so much when the reference is relevant to the file,...

Looks like maybe it's the hot-loader code at L437: ``` js if(!content.placeholders) { module.hot.accept("!!./../node_modules/css-loader/index.js!./../node_modules/stylus-loader/index.js!./styles.styl", function() { var newContent = require("!!./../node_modules/css-loader/index.js!./../node_modules/stylus-loader/index.js!./styles.styl"); if(typeof newContent === 'string') newContent = [[module.id, newContent, '']]; update(newContent);...

@JonDum I just did `npm install ractive-datatable` and then `import datatable from 'ractive-datatable';`, so whatever makes that work :) The package main looks like it _is_ pointed to `datatable.js` in...

> What do you use? gobble + gobble-babel + browerify

Here's a possible algorithm: ```js function testTrack(code, lineEnd) { const state = { line: 1, column: 0 }; // these lines replace those in writeAndMap if(code.length > 0) { const...

Ugh, but it doesn't count in a string literal, right? Like `let s = '\n';`

My assumption is that the purpose of the Edit Button is to make it easy to fork, edit markdown on Github, and PR to promote contributions. It is an invitation...

Temporary workaround that can be applied to the value: ```js // happy-dom bug for non-string values const type = typeof input; const isDomNode = input instanceof Node; if(type !== 'string'...