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
Hi, I'm getting started with Gulp.js and was wondering if there was an equivalent (plugin or part of core) that allows to add path aliases to gulpfile.js, so I can avoid using relative paths in my js files?
Something equivalent to the following from webpack:
resolve: {// use aliases instead of relative import paths in jsalias: {images: path.resolve(__dirname,'src/images'),modules: path.resolve(__dirname,'src/modules'),},},
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I'm getting started with Gulp.js and was wondering if there was an equivalent (plugin or part of core) that allows to add path aliases to
gulpfile.js
, so I can avoid using relative paths in my js files?Something equivalent to the following from webpack:
Beta Was this translation helpful? Give feedback.
All reactions