mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(android): background color/image handling improvements (#10451)
This commit is contained in:
committed by
GitHub
parent
bb83addb5c
commit
4abcb216da
@@ -87,7 +87,7 @@ export default function (config: Config, env: IWebpackEnv = _env): Config {
|
||||
const sourceMapAbsolutePath = getProjectFilePath(
|
||||
`./${
|
||||
env.buildPath ?? 'platforms'
|
||||
}/${platform}-sourceMaps/[file].map[query]`
|
||||
}/${platform}-sourceMaps/[file].map[query]`,
|
||||
);
|
||||
const sourceMapRelativePath = relative(outputPath, sourceMapAbsolutePath);
|
||||
config.output.sourceMapFilename(sourceMapRelativePath);
|
||||
@@ -273,7 +273,7 @@ export default function (config: Config, env: IWebpackEnv = _env): Config {
|
||||
const configFile = tsConfigPath
|
||||
? {
|
||||
configFile: tsConfigPath,
|
||||
}
|
||||
}
|
||||
: undefined;
|
||||
|
||||
// set up ts support
|
||||
@@ -452,7 +452,7 @@ export default function (config: Config, env: IWebpackEnv = _env): Config {
|
||||
* +-----------------------------------------------------------------------------------------+
|
||||
*/
|
||||
/System.import\(\) is deprecated/,
|
||||
])
|
||||
]),
|
||||
);
|
||||
|
||||
// todo: refine defaults
|
||||
|
||||
Reference in New Issue
Block a user