Category "webpack"

ISO proper way to chain Webpack via vue.config.js to add global .scss imports to my .vue files (vue-cli-plugin-nativescript-vue)

I have Vue.js project I've setup previously that dynamically adds defined .scss files to my .vue template files, so I can access my variables, mixins, etc. in t

Angular 13 with cornerstone - Automatic publicPath is not supported in this browser

Just upgraded our app to angular 13, managed to get all the libraries working except for cornerstone. Uncaught Error: Automatic publicPath is not supported in t

webpack enhanced-resolve plugin not working

I'm trying to follow these instructions by the developers themesevles at https://github.com/webpack/webpack/issues/6817#issuecomment-542448438 which doesn't wor

@angular-architects/module-federation to customize a monolith build

In our company we are trying to implement micro frontend concept using @angular-architects/module-federation plugin. We used very basic configuration, nothing s

Module parse failed:.You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file."

I am facing the below error. I tried with all solutions mentioned in other post related to the same issue. But no luck. Please help. Error:- **ERROR in ./src/i

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