Hi there,
I have to build my prod version for /FL/MAW/index.html
I could do that with the older cli - but now I can’t figure out how to do it
Help!
thanks,
Al;
Hi there,
I have to build my prod version for /FL/MAW/index.html
I could do that with the older cli - but now I can’t figure out how to do it
Help!
thanks,
Al;
in auralia.json file:
"platform": {
...
"productionBaseUrl": "/Deployment/Path/Here/"
...
}
in webpack.config.js
replace this line:
const baseUrl = ‘/’;
with this:
const baseUrl = (/production/.test(process.env.npm_lifecycle_script)) ? project.platform.productionBaseUrl : '/';
console.debug('baseUrl', baseUrl);