Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add Gruntfile.js for grunt

Paweł Kowalewski7f207184c226
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 0000000000..e9f7269c52
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,21 @@
+module.exports = function(grunt) {
+ grunt.initConfig({
+ less: {
+ production: {
+ options: {
+ compress: true,
+ yuicompress: true,
+ cleancss: true,
+ optimization: 2
+ },
+ files: {
+ "saleor/static/css/style.css": "saleor/static/less/style.less"
+ }
+ }
+ }
+ });
+
+ grunt.loadNpmTasks('grunt-contrib-less');
+
+ grunt.registerTask('default', ['less']);
+};
\ No newline at end of file