Created
October 31, 2017 17:51
-
-
Save indreklasn/dc29e4d2afaafdfe378304f97d9f2e7f to your computer and use it in GitHub Desktop.
webpack from scratch grunt demo
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
require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks | |
grunt.initConfig({ | |
sass: { | |
options: { | |
sourceMap: true | |
}, | |
dist: { | |
files: { | |
'main.css': 'main.scss' | |
} | |
} | |
} | |
}); | |
grunt.registerTask('default', ['sass']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment