Skip to content

Build problem #111

@DSDev7

Description

@DSDev7

I'm trying to build requirejs project with grunt-contrib-requirejs and almond, but somehow r.js includes require.js in bundle and it tries to load all my dependencies from external files.

Gruntfile part:

51     requirejs:                                                                  
52       build:                                                                    
53         options:                                                                
54           almond: true                                                          
55           mainConfigFile: 'src/tmp/js/main.js'                                  
56           baseUrl: 'src/tmp/js'                                                 
57           out: 'build/js/app.min.js'                                            
58           name: '../../vendor/js/almond'                                        
59           include: '../../vendor/js/almond'                                     
60           optimize: "none"                                                      
61           deps: ['app']                                                         
62           wrap: true                                                            
63           paths: {...} # require.js not included here

main.coffee looks like this:

 1 requirejs.config                                                                
 2                                                                                 
 3   deps: ['app']                                                                 
 4   baseUrl: 'js/',                                                               
 5                                                                                 
 6   paths: {...} # require.js not included again                                                                       
33 define ['jquery'], (jQuery) ->                                                  
34   jQuery.noConflict true

Require.js is not included by myself anywhere. Am I missing something? Thanks for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions