In this section, I’ll show you how I made a simple sass compiler and watcher without using gulp.js and only using npm scripts. When I started playing around with npm scripts, my original intention was to stop using gulp and try to write everything I needed using things like node-sass, autoprefixer, and browsersync without their respective gulp tasks. Now your file structure should look like this: If me or anyone else needs to clone my repo, I usually tell them to npm install based on the packages in package.json. I like to tell GitHub to ignore my node_modules folder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |