javascript - Not all assets in private folder of Meteor project are auto-deployed to ".meteor\local\build\programs\server\assets\app" -
i using private folder in meteor project store/use static (private) assets (e.g., .json , .js files) can loaded using assets.gettext(assetfilename). these deployed on meteor startup "projectdir\private" "projectdir.meteor\local\build\programs\server\assets\app".
however, of 3 .js files have in private directory, 2 deployed; 1 of them remains absent. trying use file in exact same way (part of loop finds , processes files in directory), meteor doesn't deploy file aforementioned directory, result of met file-does-not-exist error "platform_b.js".
"platform_a.js" , "platform_c.js" can found (i.e., deployed) , 3 of them present in private folder, (auto-)deployment fails "platform_b.js". deleting deployment directory and/or rerunning not seem solve issue. thoughts? many in advance.
i have same problem. can load private file in code force loading assets.
assets.getbinary('path/to/file')
Comments
Post a Comment