raptoria

Results 20 comments of raptoria

this might help someone... you need to pass the "r" object to Promise.resolve ``` getJSON(data_url) { let r = reqwest({ url: data_url, method: 'GET', crossOrigin: true, type: 'json', contentType: 'application/json',...

any update on moving to react-scripts v2?

any update??? :)

@r3nya for the declare module '*.css' code, how do you get around the Typescript error 'Invalid module name in augmentation, module '*.css' cannot be found.' ? Also, where do you...

@r3nya does cra-ts generate your CSS definitions for you (*.d.ts) or are you doing this yourself? Before I started using cra-ts, I used to setup my own pre-build command that...

thanks a lot for your example, it's extremely helpful. So now when I add a new local css class, I have to do npm run css-types to re-generate the *.css.d.ts...

just realized the error was caused by using Extract Text Plugin in my webpack config (karma was borrowing from it) changing the CSS from: { test: /\.css$/, loader: ExtractTextPlugin.extract('style', 'css?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]')...