I am attempting to create a package that needs to copy assets into the ‘public’ directory when adding the package to a project.
According to the meteor documentation regarding api.addFiles the allowed values for architecture are
I need to be able to add files into a specific directory, e.g.
api.addFiles('main.css', 'public/css'); api.addFiles('main-rtl.css', 'public/css');
I am not able to load both CSS files on the client, as depending on which orientation the user selects either one or the other CSS are used, not both. There are a huge number of differences between both CSS files, so it is not feasible to use template helpers to change the HTML depending on the selected orientation.
Is what I describe above doable, specifying a specific folder in which to copy the files I need?