Grady Kuhnline

Results 37 comments of Grady Kuhnline

The starter-kit has changed slightly since I last implemented `react-router-scroll`. The implementation is simplified slightly because the starter-kit doesn't use `react-router-redux` anymore. See [src/main.js](https://github.com/davezuko/react-redux-starter-kit/blob/213b87e162b370cd1f9ddcd4306596c307697a8b/src/main.js) ```js // ... import { applyRouterMiddleware...

Poke. Please let me know how I can help.

I hadn't seen your new gem that only had the CSS in it. But that's ultimately the way to go on this. I actually don't use Rails at all so...

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trimStart https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trimEnd https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim

- https://www.npmjs.com/package/typescript-transform-paths - https://github.com/Microsoft/TypeScript/issues/15479#issuecomment-300240856 - https://www.npmjs.com/package/babel-plugin-module-resolver For more context, TypeScript has limited support for generating output code that respects the `baseUrl` settings. The transform paths plugin does this and it...

I looked deeper. Seems like you handle win32 correctly but only when `process.platform === 'win32'`. Is there a way to temporarily enable win32 mode? Would it be possible to inspect...

I think webpack works platform specific like you are assuming. I was initially trying to get things to work the way that `memory-fs` does it where they don’t rely on...

> 2\. At the very beginning, before importing anything, set `process.platform = 'win32'`. ``` TypeError: Cannot assign to read only property 'platform' of object '#' ```

Is it possible to put an easter egg to enable win32 mode for testing purposes? Like `process.env.NODE_ENV === 'test' && process.env.PATH_MODE === 'win32'` --- Going to try this: https://stackoverflow.com/questions/30405397/how-do-you-mock-process-platform-in-jasmine-tests ---...

Hacked my local copy of volume. Still having issues. ```js // hacked node_modules/memfs/lib/volume.js var isWin try { if (process_1.default.env.NODE_ENV === 'test' && process_1.default.env.PATH_MODE === 'posix') { isWin = false }...