If I put an asset whereever not in root package it can´t not be found.
This fail!
package.js
.
api.addAssets('anyfolder/file.csv', 'server')
.
server.js
.
let asset = Assets.getText('file.csv')
.
error …
(STDERR) Error: Unknown asset: file.csv
(STDERR) at Object.Future.wait (/Users/flx/.meteor/packages/meteor-tool/.1.1.8.18zrac4++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:395:16)
This work!!
package.js
.
api.addAssets('file.csv', 'server')
.
Is expected? or a meteor
bug?