mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
feat: allow the passing of a bundle suffix (#10614)
This commit is contained in:
@ -132,6 +132,10 @@ export default function (config: Config, env: IWebpackEnv = _env): Config {
|
||||
.globalObject('global')
|
||||
.set('clean', true);
|
||||
|
||||
if (env?.uniqueBundle) {
|
||||
config.output.filename(`[name].${env.uniqueBundle}.js`);
|
||||
}
|
||||
|
||||
config.watchOptions({
|
||||
ignored: [
|
||||
`${getProjectFilePath(env.buildPath ?? 'platforms')}/**`,
|
||||
|
Reference in New Issue
Block a user