Exclude .json config file from build

  • I have an external .json file that stores certain config variables, like App URL or external API URL and set as process.env variables inside quasar.conf.js file.

    Since App URL is going to be different for each site, how can I exclude this file from building process to be able to change URL’s without needing to re-compile for each site?

    I tried to exclude the config file using ‘externals’, I tried to load as a Dynamic Import and so many different things but with no luck.

    Does anyone knows how to do it?


Log in to reply