830 questions
Score of 2
1 answer
103 views
Webpack build suddenly failing because of `react-dev-utils` [closed]
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/...
Score of -1
1 answer
229 views
Storybook/react/webpack5 unable to index
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/...
Score of 1
0 answers
377 views
Zustand store shared via Module Federation only provides initial value in remote app
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 ...
Score of -1
1 answer
91 views
Excluding package using externals causes "Cannot use 'in' operator to search for 'core' in undefined" error
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 ...
Score of 0
2 answers
4630 views
TailwindCSS v4 with Sass not working in Webpack [duplicate]
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 ...
Score of 1
1 answer
58 views
Spine2D Atlas 404 Error in Phaser with Webpack 5
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 ...
Score of 2
2 answers
260 views
When in development mode, unable to GET bundle.js file, fails with 404 Not Found [closed]
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="/...
Score of 1
1 answer
44 views
Webpack does not preserve the directory structure of output HTML files
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 ...
Score of 2
0 answers
38 views
Unusual Gulp Task Behaviour
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(...
Score of 1
0 answers
49 views
Webpack Configuration
I have folder structure like below
temp
|- package.json
|- package-lock.json
|- webpack.config.js
|- /src
|- /components
|- /button1.js
|- /button2.js
|- /id_selectors....
Score of 1
0 answers
153 views
JIT compilation failed for injectable class. angular 18 and webpack 5
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:[],...
Score of 1
1 answer
262 views
CSS files have a lot of unwanted code after running npm run build
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)...
Score of 0
0 answers
121 views
Angular 13 - Uncaught SyntaxError: application died in status LOADING_SOURCE_CODE: Unexpected token '<'
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",
"...
Score of 0
0 answers
269 views
How to configure Webpack in Next.js to avoid chunk duplication for shared files?
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 = ()...
Score of 0
1 answer
283 views
webpack-dev-server WebSocket error: read ECONNRESET at TCP.onStreamRead
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> ...