You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under Addon Authors guide, for Third Party Dependencies,
We need to include Funnel and mergeTrees dependencies
CURRENT
varmap=require('broccoli-stew').map;treeForVendor(defaultTree){varbrowserVendorLib=newFunnel(<pathtoyourthirdpartylib>);
browserVendorLib = map(browserVendorLib, (content) =>`if (typeof FastBoot === 'undefined') { ${content} }`);returnnewmergeTrees([defaultTree,browserVendorLib]);}included(){// this file will be loaded in FastBoot but will not be eval'dapp.import('vendor/<third party lib file name>.js');}
EXPECTED
varmap=require('broccoli-stew').map;varFunnel=require('broccoli-funnel');varmergeTrees=require('broccoli-merge-trees');treeForVendor(defaultTree){varbrowserVendorLib=newFunnel(<pathtoyourthirdpartylib>);
browserVendorLib = map(browserVendorLib, (content) =>`if (typeof FastBoot === 'undefined') { ${content} }`);returnnewmergeTrees([defaultTree,browserVendorLib]);}included(){// this file will be loaded in FastBoot but will not be eval'dapp.import('vendor/<third party lib file name>.js');}
Under Addon Authors guide, for Third Party Dependencies,
We need to include Funnel and mergeTrees dependencies
CURRENT
EXPECTED
Example code referred from
https://github.com/soulim/ember-cli-bootstrap-datepicker/pull/100/files#diff-168726dbe96b3ce427e7fedce31bb0bcR7
The text was updated successfully, but these errors were encountered: