mirror of
https://gitcode.com/github-mirrors/react-native-update-cli.git
synced 2025-11-24 17:23:37 +08:00
add logic to remove soucemap and merge sourcemap params (#9)
* add logic to remove soucemap and merge sourcemap params * Update bundle.js --------- Co-authored-by: Sunny Luo <sunnylqm@gmail.com>
This commit is contained in:
@@ -2,7 +2,6 @@ import { plugins } from './plugin-config';
|
||||
|
||||
interface BundleParams {
|
||||
sentry: boolean;
|
||||
minify: boolean;
|
||||
sourcemap: boolean;
|
||||
[key: string]: any;
|
||||
}
|
||||
@@ -10,7 +9,6 @@ interface BundleParams {
|
||||
export async function checkPlugins(): Promise<BundleParams> {
|
||||
const params: BundleParams = {
|
||||
sentry: false,
|
||||
minify: true,
|
||||
sourcemap: false,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user