Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd project
- npm install -g grunt-cli
- npm install grunt-contrib-sass --save-dev //установка sass-плагина
- nano Gruntfile.js
- //Содержимое ниже
- grunt.initConfig({
- sass: { // Task
- dist: { // Target
- options: { // Target options
- style: 'expanded'
- },
- files: { // Dictionary of files
- 'main.css': 'main.scss', // 'destination': 'source'
- 'widgets.css': 'widgets.scss'
- }
- }
- }
- });
- grunt.loadNpmTasks('grunt-contrib-sass');
- grunt.registerTask('default', ['sass']);
- //End of Содержимое
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement