This repository was archived by the owner on Aug 7, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -10,17 +10,6 @@ Some dependencies have already been added. \
10
10
If you want to force update them, please run "node_modules/.bin/update-ns-webpack".
11
11
` ;
12
12
13
- const USAGE_MESSAGE = `
14
- NativeScript Webpack plugin was successfully added.
15
- You can now bundle your project by passing --bundle flag to NativeScript CLI commands:
16
- - tns build android --bundle
17
- - tns build ios --bundle
18
- - tns run android --bundle
19
- - tns run ios --bundle
20
- You can also pass the "--env.uglify" flag to use Terser for minification.
21
- For more information check out https://docs.nativescript.org/tooling/bundling-with-webpack#bundling.
22
- ` ;
23
-
24
13
function addProjectDeps ( packageJson , force = false ) {
25
14
packageJson . devDependencies = packageJson . devDependencies || { } ;
26
15
const postinstallOptions = {
@@ -105,8 +94,6 @@ function dependsOn(packageJson, package) {
105
94
}
106
95
107
96
function showHelperMessages ( { newDepsAdded, hasOldDeps } ) {
108
- console . info ( USAGE_MESSAGE ) ;
109
-
110
97
if ( hasOldDeps ) {
111
98
console . info ( ALREADY_ADDED_MESSAGE ) ;
112
99
}
You can’t perform that action at this time.
0 commit comments