Uglify Doesn't seem to work
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 30/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- javascript, typescript
- 領域
- build-system, cli
調査の方向性
まず、記載されている NativeScript と plugin のバージョンを使用して、報告された tns run ios --release --env.uglify および tns build android --release --env.uglify コマンドで問題を再現します。release build の uglification のエントリーポイントを追跡し、両方のプラットフォームで生成された出力を比較します。完了の条件は、release 出力がもはや読み取り可能でなくなり、報告されたセットアップで動作が検証されていることです。
索引モデルが issue の本文から書いたものです。
説明
When I ran tns run ios --release --env.uglify or tns build android --release --env.uglify it doesn't seem to Uglify the code at all, I can see the source code and it's readable. Am I doing this wrong somehow?
My app is written with NativeScript core and TypeScript.
My environment:
$ tns doctor
✔ Getting environment information
No issues were detected.
✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ CocoaPods are configured properly.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ The Python 'six' package is found.
✔ Xcode version 10.2.1 satisfies minimum required version 9.
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 5.4.0 and the latest available version is 5.4.2.
✔ Component tns-core-modules has 5.4.3 version and is up to date.
✔ Component tns-android has 5.4.0 version and is up to date.
✔ Component tns-ios has 5.4.2 version and is up to date.
tns plugin
Dependencies:
┌────────────────────────────────┬─────────┐
│ Plugin │ Version │
│ @types/base-64 │ ^0.1.3 │
│ @types/utf8 │ ^2.1.6 │
│ base-64 │ ^0.1.0 │
│ nativescript-camera │ ^4.4.0 │
│ nativescript-checkbox │ ^3.0.3 │
│ nativescript-clipboard │ ^1.1.7 │
│ nativescript-fingerprint-auth │ ^6.2.0 │
│ nativescript-https │ ^1.0.3 │
│ nativescript-image-zoom │ ^3.0.3 │
│ nativescript-mapbox │ ^4.4.1 │
│ nativescript-masked-text-field │ ^4.0.1 │
│ nativescript-menu │ ^1.0.3 │
│ nativescript-orientation │ ^2.2.1 │
│ nativescript-pdf-view │ ^2.0.1 │
│ nativescript-platform-css │ ^1.6.7 │
│ nativescript-secure-storage │ ^2.4.0 │
│ nativescript-social-share │ ^1.5.1 │
│ nativescript-stripe │ ^5.0.8 │
│ nativescript-toasty │ ^1.3.0 │
│ nativescript-ui-listview │ ^6.1.0 │
│ nativescript-ui-sidedrawer │ ^6.0.0 │
│ nativescript-videoplayer │ ^4.2.1 │
│ nativescript-wonderpush │ ^0.1.1 │
│ rxjs │ ~6.3.0 │
│ tns-core-modules │ ^5.4.0 │
│ utf8 │ ^3.0.0 │
└────────────────────────────────┴─────────┘
Dev Dependencies:
┌─────────────────────────────┬─────────┐
│ Plugin │ Version │
│ nativescript-dev-sass │ ^1.7.0 │
│ nativescript-dev-typescript │ ~0.7.0 │
│ nativescript-dev-webpack │ ^0.22.0 │
│ nativescript-theme-core │ ^1.0.4 │
│ node-sass │ ^4.11.0 │
│ tns-platform-declarations │ ^5.2.0 │
│ tslint │ ~5.11.0 │
└─────────────────────────────┴─────────┘
- 主要言語
- JavaScript
- スター
- 1.1k
- フォーク
- 204
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 8
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NativeScript/nativescript-cli のほかの issue
-
in-progress
NativeScript/nativescript-cli#6140 · コメント 2 件 · 担当者 1 名 ·
-
NativeScript/nativescript-cli#6090 · 担当者 1 名 ·
-
in progress
NativeScript/nativescript-cli#6015 · リアクション 1 件 · 担当者 1 名 ·
-
question
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
NativeScript/nativescript-cli#5992 · コメント 5 件 ·
-
feature-pending-triage
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
NativeScript/nativescript-cli#5975 ·
NativeScript/nativescript-cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
Seeed-Studio/wiki-documents#5655 · コメント 2 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
Edit: CW+ オープンchannels:edit check:passed
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
01 type: bug 30 needs: triage 99 tag: UX Accessibility
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
quarto-dev/quarto-cli#14915 ·