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
Templates folder as some HTML files that I need and are being accessed as:
const filePath = path.join(__dirname, /templates/${type}.html);
and this is all being bundled as one root directory at dist. Does anyone know how to tell to rollup to bundle them as dist/templates/somehtmlfile.html?
Since when I'm running test locally, they run fine since they get the file from /templates, but when I consume the module /templates does not exist.
The text was updated successfully, but these errors were encountered:
Hi! I have this structure:
Templates folder as some HTML files that I need and are being accessed as:
const filePath = path.join(__dirname,
/templates/${type}.html
);and this is all being bundled as one root directory at dist. Does anyone know how to tell to rollup to bundle them as dist/templates/somehtmlfile.html?
Since when I'm running test locally, they run fine since they get the file from /templates, but when I consume the module
/templates
does not exist.The text was updated successfully, but these errors were encountered: