Gulp with SCSS Starter Kit

Usage

  1. Install Dev Depedencies
node v16
yarn 1.22.17
  1. Install Dev Depedencies
npm install // or yarn install
  1. To start development and server for live preview
npm run dev // or yarn dev
  1. To generate minifed files for production server
npm run prod // or yarn prod

Configuration

To change the path of files and destination/build folder, edit options in config.js file

{
  config: {
      ...
      port: 9050 // browser preview port
  },
  	paths: {
		root: ".",
		src: {
			base: "./source",
			scss: "./source/scss",
			js: "./source/js",
		},
		dest: {
			base: "./assets",
			css: "./assets/css",
			js: "./assets/js",
		}
	}
  ...
}