Closed binarykitchen closed 10 years ago
I have another gotcha: With the following configuration in my Gruntfile.coffee I am unable to run the main script in the browser:
requirejs: compile: options: baseUrl: "client/scripts/compiled" name: 'main' mainConfigFile: "client/scripts/compiled/config/require.config.js" out: "server/public/j/main.js" useStrict: true optimize: 'none' preserveLicenseComments: false
server/public/j/main.js has all the source code but does not run anything. At the bottom I see this line which makes no sense:
server/public/j/main.js
define("main", function(){});
Any clues?
I have another gotcha: With the following configuration in my Gruntfile.coffee I am unable to run the main script in the browser:
server/public/j/main.js
has all the source code but does not run anything. At the bottom I see this line which makes no sense:Any clues?