python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to perform tree shaking for lodash in a create-react-app project?
I need to perform tree-shaking to reduce bundle sizes where lodash and some other libraries are being used.
I've converted all lodash imports like this:
import {isEmpty} from "lodash";
But s...
Shivaansh Agarwal
Votes: 0
Answers: 1
typescript error using google.maps - 'google' is not defined
I have the following in package.json
"@types/google.maps": "~3.48.3",
// in my tsx file the first line at the top is
/// <reference types='google.maps' />
But on accessing ...
nishant
Votes: 0
Answers: 1
How to add less-loader to react-app-rewired config?
I am using react-app-rewired and I want to add the less-loader to the config-overides.js but it doesn't work,
I tried with
module.exports = {
module: {
rules: [
{
test: /\.less$/i,...
GisCat
Votes: 0
Answers: 1
Adding csp-html-webpack-plugin dosnt load my react webpage
I am using the npm react-app-rewired customize-cra csp-html-webpack-plugin to give my application more security following this example https://medium.com/@nrshahri/csp-cra-324dd83fe5ff
My config-overr...
Antonio Matheus
Votes: 0
Answers: 1