Category "webpack"

chunks file urls problem in laravel and vuejs

i am developing a web application with laravel and vue i deploy application in this route in host: https://novintech.info/panel anything is true but chunks f

deprecated errors while installing packagesin gastby

I am using a Gatsby theme and facing this errors while installing packages , I've tried npm install --legacy-peer-deps but when I run gatsby develop I get th

REACT-PDF library - webpack < 5 used to include polyfills for node.js core modules by default

Please, I am a student and I wanted to level up my skills by using different libraries and I have been trying to use react-pdf. I have followed this tutorial -

Angular Micro frontend taking time to load module on while navigating

I am using Angular 12 and implemented a micro frontend using Webpack5 Module Federation. Application is working fine, but the micro frontend application that I

Files not output to directory by webpack - publicPath not working

I have a simple webpack and trying to use publicPath: const path = require('path'); module.exports = { entry: { jquery: './node_modules/jquery/dist

Firebase Import Error : initializeApp was not found in firebase/app

I am building my first firebase app using JS and Webpack. I'm following the modular approach. I have followed the documentation and forums for this, However I c

Strip long white spaces when using webpack

I have lots of white spaces in my js file, example: ${u} </div>\n <div is there any configuration on webpack which can remove these white

SassError: The target selector was not found

After upgrade to bootstrap 5.x, the node version is v16.13.2, the webpack version is "webpack": "^4.36.0", the sass-loader version "sass-loader": "^9.0.0". when

Using Web Workers with React and Webpack 5

I have been trying to use Web Workers with react for a few days and I ran into a few issues. I started with a create-react-app using webpack 4. I could use a we

Error when trying to run dev server | React, SSR

I got this error when I'm trying to run server: E:...\node_modules\ts-loader\dist\watch-run.js:29 for (const [filePath, date] of times) { ^ TypeError: times is

How to create React App including Web3 using create-react-app? I am getting Module not found Error. BREAKING CHANGE: webpack < 5 used

I am new to Web3 and I am trying to create a react app integrated with web3. Below are the steps I followed in Ubuntu. create-react-app app_name cd app_

How to stop infinite refresh in react webpack app?

When I change the TS file, Webpack doesn't stop refreshing the page. Console says: @ebpack 5.66.0 compiled successfully I've googled this and tried different pl

npm package.json aliases like webpack

i am trying to alias a module however i am not sure how to do that with package.json in webpack you would do something like this: module.exports = { //...

Force yarn.lock to generate?

I have a rails app, I deleted yarn.lock (due to some complicated errors), but I would like to regenerate it. I tried yarn install -std:c++latest and yarn instal

Webpack5 + react-refresh-webpack-plugin does not work

I wanted to setup react with webpack, babel, and typescript myself since I would like to know more and have a consistent boilerplate for development. I have bee

How to enable VS code intellisense for absolute path imports in a React app?

So, i recently created a React app and added the absolute imports by updating the jsconfig.json for my project as per the documentation (https://create-react-ap

webpack < 5 used to include polyfills for node.js core modules by default

I am beginner to react js. Please someone provide input for below issue. In local system react js application is working fine but when i am generating build fr

React + Webpack5 app experiencing a 'buffer not defined' error

I created a react app via npx create-react-app my-app and got several compile errors about module support. I know webpack5 does not support some modules automat

Import Typescript/JSX code directly from npm package

I am trying to build a very basic custom npm package which will be imported in a Typescript React app (created with CRA). React app ALPHA: import {MyText} from

Webpack Module Federation Unsatisfied version 11.x.x of shared singleton module @angular/common (required ^7.2.0)

I am trying to get my rather complicated monolithic app to work with Module Federation. My webpack config looks like that plugins: [ new ModuleFederation