Requirejs: paths vs map

From the RequireJS Docs “In addition, the paths config is only for setting up root paths for module IDs, not for mapping one module ID to another one.” This means “paths” is meant for mapping just the path to your resource when it is not in the default location (baseUrl). I guess this is what … Read more

What’s the correct way to use requireJS with typescript?

I would have commented on David’s reply to basarat’s answer (regarding modules and classes), but I don’t have the reputation. I know this question is stale, but I didn’t find an answer elsewhere. I succeeded by using basarat’s videos, combined with some other resources, to figure it out for classes like David Thielen needed. Note … Read more

Excluding files/directories from Gulp task

Quick answer On src, you can always specify files to ignore using “!”. Example (you want to exclude all *.min.js files on your js folder and subfolder: gulp.src([‘js/**/*.js’, ‘!js/**/*.min.js’]) You can do it as well for individual files. Expanded answer: Extracted from gulp documentation: gulp.src(globs[, options]) Emits files matching provided glob or an array of … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)