npm i gulp gulp-cssnano gulp-autoprefixer gulp-sass browser-sync gulp-rename gulp-uglify gulp-babel @babel/core @babel/presets-env -D
- SASS compiling
- SASS injecting (in ./sass directory)
- HTML injecting (in core directory)
- Renaming
- Autoreload with Browsersync
- Autoprefixing CSS
- Minifying CSS with cssnano plugin
- Converting new JS syntax to old with Babel
- Minifying JS with Uglify
gulp
Your SASS files must be in ./sass directory, JS files in ./js directory and HTML file in core folder. Include CSS files via ./dist/(style).css and JS files via ./dist/(core).js
./dist/css
./dist/js