Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
93 views

I am suddenly unable to build my Webpack frontend, I randomly began getting this error despite not making any changes to the code: Starting the development server... /home/username/Documents/frontend/...
Aaron Meese's user avatar
  • 2,383
-1 votes
1 answer
216 views

I have a project (node 24, react16, webpack5 & babel )and I'm trying to integrate it with storybook9; when I run the script npm run storybook It throws: ... Unable to index ./src/components/Button/...
Daniel Reinaldo Zorro Forero's user avatar
0 votes
0 answers
48 views

I am webpacking a module from pathA, node_modules are ignored. I import the pathA/index.js in pathB node index.js dynamically, which has the required node_modules. But when I run pathB node index.js, ...
Bharath Subu's user avatar
0 votes
0 answers
58 views

I need some professional help. Currently having a project which has some aurelia js version1 apps and we have some issues because we run on an old version of node: 16.18, the entire package for the ...
Daniel.Cristian's user avatar
1 vote
0 answers
340 views

I'm building a micro-frontend architecture using Webpack Module Federation. I have a host app and a remote app (cart), and I'm trying to share a global Zustand store (themeStore) from the host to the ...
Lalinda's user avatar
  • 23
0 votes
0 answers
13 views

I have a project and a separate library which is not contained in the project folder structure. It would look like this: MyProject src Library Subfolder SomeModule I want to access [some files] ...
Rex the Strange's user avatar
-1 votes
1 answer
84 views

I am creating a razor class library that wraps the azure-maps-control npm package. I use TypeScript to build the *.js and Webpack to bundle the *.js. When I use the RCL in my Blazor web app it works ...
Douglas Marquardt's user avatar
0 votes
2 answers
4k views

Has anyone been able to successfully run TailwindCSS 4 with Sass in Webpack 5 & React app? I am having some configuration issues where I don't get any console errors but CSS processing seems to be ...
Kevin Garcia's user avatar
1 vote
1 answer
55 views

When I try to load Spine2D's atlas in Phaser, using Webpack 5, I receive 404 for the skeleton.png asset. // File: skeleton.atlas skeleton.png size:2046,1890 filter:Linear,Linear ... Spine2D's atlas ...
Veme's user avatar
  • 384
2 votes
2 answers
250 views

While trying to run the application locally, browser is not able to load bundle.js: This is the setup to load bundle.js inside index.html: <script type="text/javascript" src="/...
mason's user avatar
  • 554
1 vote
1 answer
41 views

First, I'm migrating a project from gulp and from the Foundation for Sites SCSS framework to webpack and a different SCSS framework. The project makes a site for a text-heavy law school casebook. I am ...
Frank Burleigh's user avatar
2 votes
0 answers
34 views

I am struggling with a Gulp Task and what it is doing. Let me start with the first task: gulp.task('html-template:join', (cb) => { gulp.src('./src/template-data/**/*.json') .pipe(...
Takuhii's user avatar
  • 977
1 vote
0 answers
42 views

I have folder structure like below temp |- package.json |- package-lock.json |- webpack.config.js |- /src |- /components |- /button1.js |- /button2.js |- /id_selectors....
P. Roy's user avatar
  • 41
1 vote
0 answers
148 views

bootstrap:19 JIT compilation failed for injectable class a{static{this.ɵfac=i["ɵɵngDeclareFactory"]({minVersion:"12.0.0",version:"18.2.13",ngImport:i,type:a,deps:[],...
shashi kumar's user avatar
1 vote
1 answer
260 views

I have created Webpack 5 demo for plain HTML, CSS and JS using TailwindCSS v4. GitHub: sanketpbhamre/tailwind-4-webpack-5 Webpack CSS configuration module: { rules: [ { test: /\.(s[ac]|c)...
Sanket P Bhamre's user avatar
0 votes
0 answers
114 views

I am using Single-SPA-angular version 4.0.0 in micro-front-end and Single-SPA in Root application. My package.json contains below packages for webpack : "webpack": "5.97.1", "...
Neeraj's user avatar
  • 21
0 votes
0 answers
248 views

I have a problem with the way webpack bundles my files. Consider the following files: // utils/index.js export const funcA = () => { return "funcA in CompA"; }; export const funcB = ()...
Aryan Mehrabi's user avatar
0 votes
1 answer
271 views

I'm facing this problem for a websocket proxy ws/**: <i> [webpack-dev-server] [HPM] Upgrading to WebSocket <e> [webpack-dev-server] [HPM] WebSocket error: Error: read ECONNRESET <e> ...
feelingreat's user avatar
1 vote
1 answer
239 views

After I upgraded our project from Node 22.11 to Node 22.12, I am unable to build and run the project using webpack. Problem is caused by Node 22.12 and its newly introduced functionality require(esm) ...
Bedřich Schindler's user avatar
0 votes
2 answers
398 views

I am using the react-three-fiber getting started doc to render a cube on a page but nothing shows and I am at a bit of a loss. Link: https://r3f.docs.pmnd.rs/getting-started/your-first-scene I am ...
Jayson Sanon's user avatar
2 votes
1 answer
292 views

I am using Angular v17 and configuration allows for setting subresourceIntegrity to true which will add the integrity hash to the <script> tags that import the compiled Angular project. This is ...
Wayne Kaskie's user avatar
  • 3,522
0 votes
1 answer
66 views

The issue I'm stuck on is hot reload is trying to go to localhost:8000/build (where the application build is being used) instead of localhost:3000/build which is the webpack-dev-server build location. ...
Ave's user avatar
  • 83
0 votes
0 answers
183 views

I am using nextjs@14 version. here is my next.config.mjs export default (phase, { defaultConfig }) => { //console.log('defaultConfig =>', defaultConfig); /** * @type {import('next')....
Ankit Parmar's user avatar
1 vote
2 answers
70 views

Anyway to tell webpack in a project with multiple entries to include only respective css for each entry? Seems like it extracts all css across all entries, puts them under vendor.css and includes that ...
vir us's user avatar
  • 10.9k
0 votes
1 answer
52 views

I'm currently working on a project that relies on React Material UI as a dependency. One of the components uses react context to handle styling. I had to upgrade the project from webpack 4 to webpack ...
Jonathan Woolf's user avatar
2 votes
0 answers
214 views

I am building an Angular app, and I use npm run ng serve to build it. I use the latest Webpack 5+, and keep getting errors about my CSS files: Build at: 2024-11-17T02:48:50.801Z - Hash: ...
Daniel Stephens's user avatar
1 vote
1 answer
81 views

I was setting up a React project for a Chrome extension in which I needed more than one entry point and output in webpack, but I got an error when trying to configure more than one entry point in the ...
ojete_sucio's user avatar
0 votes
1 answer
66 views

An async/await call doesn't work. I loaded core-js and regenerator-runtime to fix that but it still isn't working. I'm guessing it's a matter of the proper components. That's why I posted my ...
Tachyon80's user avatar
  • 157
1 vote
0 answers
412 views

I maintain a project for my job that was built using create-react-app. We have strict compliance standards for removing issues, which led to us ejecting said project a while back. An issue on webpack-...
Josh's user avatar
  • 11
1 vote
2 answers
1k views

I have an npm module which I'd like to share between my host and remote apps, but when I'm debugging the app, it is obvious that for example a singleton class (from the npm module) is instantiated ...
Johnny's user avatar
  • 1,935
0 votes
2 answers
353 views

My angular json { "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects&...
Naveed Shahid's user avatar
0 votes
0 answers
91 views

I am working on building my first React application (using TypeScript), however I am running into an issue building the application while trying to use environment variables. My folder structure is: ...
Dominick's user avatar
  • 516
0 votes
0 answers
122 views

I am trying to optimize a Vue (v3.2)+Webpack (v5.8) app, and I haven’t been properly introduced to Vue. I have tens of css and js references in my index.html. Those css'es and js'es are currently in ...
JohnSmith's user avatar
  • 508
0 votes
1 answer
125 views

I have a reactjs app with webpack5. There is a CORS problem. I use webpack devServer with proxy. But the main problem is webpack proxy doesn't pass original headers which is needed for authorization. ...
Дмитрий Саламатов's user avatar
2 votes
0 answers
1k views

I am beginning a new project which will be a React TypeScript website package, and I would like to use webpack to bundle and serve my website artifacts. I have installed webpack, webpack-cli, and ...
Torc's user avatar
  • 1,352
0 votes
1 answer
55 views

slider.js ... const initialize = (pImages) => { pImages.forEach((image) => { const sliderItem = document.createElement("img"); sliderItem.src = image.src; // this line result ...
54935's user avatar
  • 1
1 vote
1 answer
184 views

I got this setup: core.js import * as bootstrap from 'bootstrap'; import { Popover } from 'bootstrap'; //...code doing some stuff with Popover someFancyPlugin.js import { Popover } from 'bootstrap'; /...
nerdess's user avatar
  • 11.1k
0 votes
1 answer
678 views

I have multiple entry points in my webpack config and I want each entry point to bundle into its own folder with nothing import path from 'path'; import webpack from 'webpack'; import TerserPlugin ...
K41F4r's user avatar
  • 1,569
0 votes
1 answer
100 views

I'm thinking about how I can structure my code. Since some code in Chrome Browser runs in "Isolated Worlds", little VMs, I have trouble bundling my Javascript without creating a lot of ...
LSR's user avatar
  • 103
1 vote
0 answers
36 views

I'm new with webpack and I don't understand at all why my webpack configuration is adding a delay mechanism at the end of the builded script, something like this: var t = o.O(void 0, [4998], (() ...
Nelson Saloj's user avatar
1 vote
1 answer
231 views

I am working on a project using Module Federation with a shell application and three microfrontends (a, b, c). I need to configure the setup so that: The shell application uses [email protected]. Each ...
SDK's user avatar
  • 1,558
0 votes
1 answer
836 views

I'm starting a new project and I want to reuse my components from an existing project. Following tutorials, I was able to share js and react files, as well as images and other media. However, instead ...
Luana's user avatar
  • 1
0 votes
0 answers
254 views

I have a app that loads some module federated components. For example: module.exports = { plugins: [ new ModuleFederationPlugin({ name: 'app', remotes: { remoteComponent1:'...
ninja's user avatar
  • 385
0 votes
0 answers
100 views

I have widget app using boostrap and bootstrap icons all this is bundled via Webpack js 5 I had huge difficulties to make bootstrap icons to be loaded correctly but now it's working. the only problem ...
villersexel's user avatar
-2 votes
1 answer
616 views

I'm new to the module federation and having some issue while loading host app, when using Host(React+vite) and Remote(angular18+custom-webpack). Remote : custome-webpack.config.js const ...
uday214125's user avatar
2 votes
0 answers
366 views

Here is the image of error I am encountering an error while using Webpack 5 with the probe-image-size library in my project. The error message I get is: ERROR in ./node_modules/probe-image-size/lib/...
Darshil Thummar's user avatar
1 vote
0 answers
64 views

I use CSS Modules. I don't need resolving of url, but I need replace url paths with my custom function call so that I could get the full url at runtime by myself with my custom logic. For example, &...
Eugene Starosvetskiy's user avatar
0 votes
0 answers
396 views

I want to use microfrontend of web-component in react-native-expo using module federation. There are 4 different microfrontends 2 of them required some request parameters. I tried to Re.Pack package ...
Ram Vishwakarma's user avatar
1 vote
1 answer
52 views

I have a webpack.config.js that scans a config folder to build different bundles in different output folders so that each of those output folders can be a standalone website. For each of those output ...
DavidP's user avatar
  • 71
0 votes
1 answer
129 views

We have implemented module federation with nx. In a poc project we created a shell and a remote project with all default settings with angular 18.0.3 ( in the poc 18.0.2) and ng/angular 19.1.2 In the ...
Ron Jonk's user avatar
  • 939

1
2 3 4 5
17