Created
April 25, 2024 16:49
-
-
Save alicewriteswrongs/1a1967bfe4171546f5393a91bcabee95 to your computer and use it in GitHub Desktop.
framework stencil angular build size path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/build_angular.sh b/build_angular.sh | |
new file mode 100755 | |
index 0000000000..9338248ec8 | |
--- /dev/null | |
+++ b/build_angular.sh | |
@@ -0,0 +1,18 @@ | |
+#!/usr/bin/env bash | |
+ | |
+# install deps in all packages | |
+# npx lerna exec npm install | |
+ | |
+# put packages here | |
+mkdir /tmp/ionic | |
+ | |
+cd core | |
+# npm i | |
+npm run build | |
+npm pack --pack-destination /tmp/ionic | |
+ | |
+cd ../packages/angular | |
+npm run sync | |
+npm run build | |
+cd dist | |
+npm pack --pack-destination /tmp/ionic | |
diff --git a/core/tsconfig.json b/core/tsconfig.json | |
index 2874f056cc..c9e564a689 100644 | |
--- a/core/tsconfig.json | |
+++ b/core/tsconfig.json | |
@@ -31,7 +31,10 @@ | |
"baseUrl": ".", | |
"paths": { | |
"@utils/*": ["src/utils/*"], | |
- "@utils/test": ["src/utils/test/utils"] | |
+ "@utils/test": ["src/utils/test/utils"], | |
+ "@stencil/core/internal": ["node_modules/@stencil/core/internal"], | |
+ "@stencil/core/internal/*": ["node_modules/@stencil/core/internal/*"], | |
+ "@stencil/core/mock-doc": ["node_modules/@stencil/core/mock-doc"] | |
} | |
}, | |
"include": [ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment