Skip to content

Instantly share code, notes, and snippets.

@indreklasn
Created October 31, 2017 17:51
Show Gist options
  • Save indreklasn/dc29e4d2afaafdfe378304f97d9f2e7f to your computer and use it in GitHub Desktop.
Save indreklasn/dc29e4d2afaafdfe378304f97d9f2e7f to your computer and use it in GitHub Desktop.
webpack from scratch grunt demo
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