Category "webpack"

plugin is not working in Webpack with React JS

I am creating a React JS app. I have installed terser-webpack-plugin to both try to compress my code as well as remove console.log() statements. However, it doe

CSS background-image not showing, but does when I apply style to the element in dev tools?

I am using Webpack to load an image to use as a background image. When I apply it using CSS, the div takes on any property I give it other than a background ima

Error with docker and react, digital envelope routines::unsupported

I have enrolled in a docker course and the instructor has provided a starter project with some rather old react code. I dockerized the react project, here's the

React-router did not work on production

there, I am using react-router for this app. It works fine on my local server. Here is the code: var routes = ( <Router history={browserHistory}> <

webpack try to require a module that might be missing

I want to try to require a module in a webpack build and if that file is not found just do nothing, don't throw an error etc. I tried doing it this way: try {

ant design customize theme vue

i got my vue3 application setup so far with tailwind, and ant design but can't customize ant design theme i am following this guide i got this error error in

Using webpack to load CSS files from node modules

I'm trying to use a react component that includes a css file. I'm requiring the component as usual: var Select = require('react-select'); I'd like to know ho

Webpack 5 & Jest - Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'

I can't get the typings for Jest to work with Webpack 5 and TypeScript, I've tried other solutions for the same problem. The problem is only with "screen" and "

Webpack 5 & Jest - Property 'toBeInTheDocument' does not exist on type 'JestMatchers<HTMLElement>'

I can't get the typings for Jest to work with Webpack 5 and TypeScript, I've tried other solutions for the same problem. The problem is only with "screen" and "

Could not find the entrypoints file from Webpack: the file ".../public/build/entrypoints.json" does not exist

I'm trying to setup a symfony project i cloned from github, i'm new to setting up symfony and need help. I've done composer install but it won't come up with th