Jason Miller

Results 1189 comments of Jason Miller

Nice - thanks for pulling that out, just merged it.

@piotr-cz I think we might be able to create a wrapper function in the provider that swaps the argument signature: ```diff - const [url, route] = useReducer(UPDATE, location.pathname + location.search);...

Hiya. This is done intentionally. Here's what you can do to produce CommonJS and UMD bundles that don't have the issue: ```json { "scripts": { "build": "microbundle -f cjs,umd src/index.cjs.js...

TBH I don't think there would be any negative effects, it just hasn't been implemented.

@qwelias you should be able to use an intermediary type definition to fix this: ``` // types.d.ts import EventHub from './eventhub.ts'; export default EventHub; export = EventHub; ``` FWIW TypeScript...

I don't think Microbundle uses `babel.config.js`, only `.babelrc`.

If you're bundling a dependency, it shouldn't be listed in `"dependencies"` - that would download it while also downloading the bundled copy of it. If you move the dependency to...

Yes - I think we are on more recent Rollup now too and can enable es2015 output.

Hi @Chris-LuYi - I believe this should be possible by providing a `postcss.config.js` file, though I haven't tested it myself. Just as a heads-up, we're considering removing LESS support from...