Skip to content

Commit

Permalink
add support for ffmpeg and its assets
Browse files Browse the repository at this point in the history
  • Loading branch information
OsamaAbuSitta committed Jul 18, 2022
1 parent 0d3fce9 commit 0ba7743
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 14 deletions.
8 changes: 7 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,13 @@
"tsConfig": "tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
"src/assets",
{
"input": "node_modules/@ffmpeg/core/dist",

This comment has been minimized.

Copy link
@OsamaAbuSitta

OsamaAbuSitta Jul 18, 2022

Author Owner

add new assets to be included in project bundle

"output": "node_modules/@ffmpeg/core/dist",
"glob":"*"
}

],
"styles": [
"src/styles.css"
Expand Down
78 changes: 67 additions & 11 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
"@angular/platform-browser": "~13.3.0",
"@angular/platform-browser-dynamic": "~13.3.0",
"@angular/router": "~13.3.0",
"@ffmpeg/core": "^0.10.0",
"@ffmpeg/ffmpeg": "^0.10.1",
"ngx-mask": "^13.1.15",
"rxjs": "~7.5.0",
"tslib": "^2.3.0",
Expand All @@ -30,7 +32,7 @@
"@angular/cli": "~13.3.5",
"@angular/compiler-cli": "~13.3.0",
"@types/jasmine": "~3.10.0",
"@types/node": "^12.11.1",
"@types/node": "^12.20.55",
"@types/uuid": "^8.3.4",
"jasmine-core": "~4.0.0",
"karma": "~6.3.0",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/app",
"types": []
"types": ["node"]

This comment has been minimized.

Copy link
@OsamaAbuSitta

OsamaAbuSitta Jul 18, 2022

Author Owner

to support node types that are using in ffmpeg

},
"files": [
"src/main.ts",
Expand Down

0 comments on commit 0ba7743

Please sign in to comment.