// For any third party dependencies, like jQuery, place them in the lib folder.

// Configure loading modules from the lib directory,
// except for 'app' ones, which are in a sibling
// directory.
requirejs.config({
    // enforceDefine: true,
    baseUrl: 'scripts/lib',
    paths: {
        jquery: 'https://code.jquery.com/jquery-3.2.1.slim.min',
        lodash: 'https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.4/lodash.min',
        seedRandom: 'https://cdnjs.cloudflare.com/ajax/libs/seedrandom/2.4.3/seedrandom.min',
        threejs: 'https://cdnjs.cloudflare.com/ajax/libs/three.js/85/three.min',
        dobuki: 'https://jacklehamster.github.io/dok/out/dok.min',
        jsgif: 'jsgif/gif'
    },
    urlArgs: "bust=" + Date.now(),
    catchError:false,
});

define(function() {
    // Start loading the main app file. Put all of
    // your application logic in there.
    requirejs(['scripts/main.js']);
});

@@ -722,50 +722,73 @@
 gs: 
-%22bust=%22 + Date.now(),%0A    catchError:false
+(location.search.match(/%5Cbdebug%5Cb/g)) ? %22bust=%22 + Date.now() : ''
 ,%0A%7D)

Remove cache bust, except for debug