Skip to main content

All Questions

Tagged with
1 vote
1 answer
41 views

Does Webpack need an entry and output?

I am migrating an old gulp project over to webpack, and wondered if it was possible to make a webpack project that doesn't require the entry and output options, I have a series of tasks that need ...
Takuhii's user avatar
  • 925
1 vote
0 answers
17 views

Multiple Node.js builds in different subfolders with different node versions with one command possible?

I'm working on a project, a WordPress plugin for the Divi theme, with the following file structure: root gulpfile.js package.json /src/divi4 gulpfile.js package.json /src/divi5 gulpfile.js ...
xxtesaxx's user avatar
  • 6,419
0 votes
0 answers
204 views

'gulp serve' keep getting stuck at 'configure-webpack'

I'm doing some SPFx developments. But today, all of sudden, whenever I run 'gulp serve', it only loads 1 time, and then in all the subsequent page refreshes, it keeps being stuck at: [22:37:58] ...
夏期劇場's user avatar
  • 18.3k
0 votes
0 answers
29 views

How do I connect js files to Gulp?

I'm trying to figure out Gulp and I ran into this problem: .The js file is uploaded to dist, but the file script does not run, and HTML and CSS are displayed normally. Tell me, please, what is the ...
Ahmed_08's user avatar
1 vote
1 answer
164 views

Gulp compile problems with mac m1 gulp-notify and node-notify errors

I have macbook pro m1 i am using gulp with webpack for wp project to compile code. i get this error [16:28:42] gulp-notify: [Error in notifier] Error in plugin "gulp-notify" Message: ...
Ugniusnaujas Ugnius's user avatar
3 votes
1 answer
2k views

Error [ERR_REQUIRE_ESM]: require() of ES Module in gulpfile.js

I have a React16 project and I'm trying to update it to React18, with old packages everything work well. but I updated all packages and dependecies, and when I want to run it it return this error: $ ...
alireza mohammadhossein's user avatar
1 vote
0 answers
118 views

Yarn can't use arguments on custom scripts

I have a few projects that uses the same structure, so I have a bunch of scripts set on package.json to run each project for development and production. I was able to create custom args on the script ...
celsomtrindade's user avatar
0 votes
1 answer
486 views

How to not minify js file in build in gulp?

I want to NOT minify the main js file ( app.js ) in production mode ( npm run build ). I use webpack-stream to compress and import various files/libraries into one single app.js file. But, for some ...
Roman S.'s user avatar
0 votes
1 answer
442 views

vue-loader ignores the <template> tag on .vue files

I am trying to use webpack, vue-loader and gulp to compile single component files, but the damn thing completely ignores the <template> tags and as result I am getting warnings such as: "...
Adinan's user avatar
  • 135
0 votes
1 answer
86 views

Running gulp postcss in parallel with webpack

I'm working on a project with a pre-configured webpack setup, that I cannot change. I do have access to the package.json though. I'd like to use nesting in the css files. Every component in src/...
jost21's user avatar
  • 1,348
0 votes
0 answers
23 views

Investigate why package.json is displayed under /package.json

I'm sorry if I don't provide any relevant code here but I need help where to investigate why package.json is displayed in development and production under http/https://[SITE]/package.json. It's a ...
krisal's user avatar
  • 631
0 votes
2 answers
637 views

Module not found: Error: Can't resolve '@angular/platform-browser/animations'

Recently updated from Angular 12 to latest & updated respective package.json references to latest as well Error: Module not found: Error: Can't resolve '@angular/platform-browser/animations' in '...
super cool's user avatar
  • 6,045
1 vote
1 answer
72 views

Using Webpack and Gulp how can I selectively combine some files and not others?

So I have a situation... I am using Gulp (no choice have to stick with it on this one), and I need to use Webpack to combine some JS files, as outlined in the example below, and move them to a ...
Takuhii's user avatar
  • 925
0 votes
1 answer
914 views

Import multiple SCSS files into one SCSS file and compile to one CSS file

So I have the following main scss directory: /assets/scss/main.scss. In this file, I have the following items: @charset "utf-8"; // Initial variables must be imported first @import "../....
DevSem's user avatar
  • 153
0 votes
0 answers
57 views

My ReactJs locahlost keeps refreshing every second in my Mac

I am working in company project and running my project ReactJs app using gulp From last few months when ever i am trying to access localhost using URL https://localhost.comapny.com:8443/ its keep ...
kumar's user avatar
  • 770

15 30 50 per page
1
2 3 4 5
31