This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// filemane: gulpfile.js | |
// ruby must be installed, then run gem install sass | |
// npm install gulp-ruby-sass gulp-autoprefixer gulp-cssnano gulp-jshint gulp-concat gulp-uglify gulp-imagemin gulp-notify gulp-rename gulp-livereload gulp-cache del gulp-babel babel-preset-env --save-dev | |
// also need to get jshint to work: .jshintrc | |
/* | |
UPDATE: without ruby: https://github.com/dlmanning/gulp-sass | |
ex: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// remember to run first: npm i --save-dev webpack path babel-core babel-preset-es2015 babel-loader | |
/* Simplistic .babelrc file: | |
{ | |
"presets": ["es2015"] | |
} | |
*/ | |
var path = require('path'); |
NewerOlder