X-Git-Url: https://git.mdrn.pl/fnpeditor.git/blobdiff_plain/412e60ded1457ec0f408e2234c9dd60122929bac..efe36f4f1b5df351eeb4d40a54c3900cf9a7079b:/Gruntfile.js diff --git a/Gruntfile.js b/Gruntfile.js index 8b7469e..55ee1c8 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -4,8 +4,8 @@ module.exports = function(grunt) { requirejs: { compile: { options: { - baseUrl: '', - mainConfigFile: 'entrypoint.js', + baseUrl: 'src/editor', + mainConfigFile: 'src/editor/entrypoint.js', out: 'build/rng.js', name: 'entrypoint', include: ['libs/require'] @@ -19,12 +19,12 @@ module.exports = function(grunt) { yuicompress: true }, files: { - 'build/rng.css': 'styles/main.less' + 'build/rng.css': 'src/editor/styles/main.less' }, }, }, jshint: { - all: ['Gruntfile.js', 'modules/**/*.js', 'views/**/*.js', 'fnpjs/**/*.js'], + all: ['Gruntfile.js', 'src/**/*.js'], options: { jshintrc: '.jshintrc' }