AnsweredAssumed Answered

Javascript Web Optimizer tool: multiple custom AMD modules

Question asked by robeym on Feb 17, 2015
Latest reply on Mar 5, 2015 by robeym

Is it possible to have some clarification on using the Web Optimizer tool with an application that has multiple custom AMD modules? Presumably only one package.json is required?

 

The Help example uses the following directory structure:

 

  application_folder
   
|- index.html
   
|-- css
   
|-- extraCustomModule
   
|---- package.json
   
|---- MyCustomModule.js

 

With multiple custom modules is the structure still valid (with a bit of renaming)? Eg:

 

  application_folder
   
|- index.html
   
|-- css
   
|-- extraCustomModules
   
|---- package.json
   
|---- CustomModuleA.js

    |---- CustomModuleB.js

    |---- CustomModuleC.js

 

 

Thanks.

Outcomes