You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gulp is now just building javascripts and stylesheets, and copying images from one directory to another. It also has watch/browser-sync functionality. Webpack is designed for exactly those things.
Here's what ChatGPT came up with, when asked to convert gulpfile.babel.js. It uses different minimizers (Gulp used CSSO), but it's not far from the webpack.config.js file in the data-registry.
Goals are:
Use the same technologies across projects
Simplify the build and reduce the number of dependencies (e.g. try to remove plugins from this webpack config)
Gulp is now just building javascripts and stylesheets, and copying images from one directory to another. It also has watch/browser-sync functionality. Webpack is designed for exactly those things.
Here's what ChatGPT came up with, when asked to convert gulpfile.babel.js. It uses different minimizers (Gulp used CSSO), but it's not far from the webpack.config.js file in the data-registry.
Goals are:
And package.json would contain (snippet):
The text was updated successfully, but these errors were encountered: