Closed ronaldruzicka closed 7 years ago
I had some path issues when getting nunjucks templates with rendering in the browser on Walmark project, so serving from DIST
would ensure, the path is ok and the same on both PROD
and DEV
. And I didn't have any issues with api
yet. Do you remember what issue with the api
did you have?
The only issue was I have src/api.json
and I want to use it as mock API response. And I don't want to create task to copy&paste it to DIST folder. But once we have a API server so it is preferred way how to mock API.
I think it is unnecessary to serve files from both
DEV
andBUILD
base, so now it serves just fromBUILD