diff options
Diffstat (limited to 'client/angular.json')
-rw-r--r-- | client/angular.json | 45 |
1 files changed, 14 insertions, 31 deletions
diff --git a/client/angular.json b/client/angular.json index 0cd827218..c9d90d5ec 100644 --- a/client/angular.json +++ b/client/angular.json | |||
@@ -131,13 +131,14 @@ | |||
131 | "build": { | 131 | "build": { |
132 | "builder": "@angular-devkit/build-angular:browser", | 132 | "builder": "@angular-devkit/build-angular:browser", |
133 | "options": { | 133 | "options": { |
134 | "aot": true, | ||
135 | "localize": true, | 134 | "localize": true, |
136 | "outputPath": "dist", | 135 | "outputPath": "dist", |
137 | "index": "src/index.html", | 136 | "index": "src/index.html", |
138 | "main": "src/main.ts", | 137 | "main": "src/main.ts", |
139 | "tsConfig": "tsconfig.app.json", | 138 | "tsConfig": "tsconfig.app.json", |
140 | "polyfills": "src/polyfills.ts", | 139 | "polyfills": "src/polyfills.ts", |
140 | "baseHref": "/", | ||
141 | "deployUrl": "client/", | ||
141 | "stylePreprocessorOptions": { | 142 | "stylePreprocessorOptions": { |
142 | "includePaths": [ | 143 | "includePaths": [ |
143 | "src/sass/include" | 144 | "src/sass/include" |
@@ -151,39 +152,24 @@ | |||
151 | "src/sass/application.scss" | 152 | "src/sass/application.scss" |
152 | ], | 153 | ], |
153 | "allowedCommonJsDependencies": [ | 154 | "allowedCommonJsDependencies": [ |
154 | "@angularclass/hmr", | 155 | "qrcode", |
155 | "debug", | ||
156 | "mousetrap", | ||
157 | "chart.js", | 156 | "chart.js", |
158 | "linkifyjs/html", | 157 | "htmlparser2", |
159 | "linkifyjs", | ||
160 | "markdown-it", | ||
161 | "markdown-it-emoji/light", | 158 | "markdown-it-emoji/light", |
162 | "sanitize-html", | 159 | "sanitize-html", |
163 | "socket.io-client", | 160 | "debug", |
164 | "socket.io-parser", | ||
165 | "@app/+about/about-peertube/about-peertube-contributors.component", | ||
166 | "path", | ||
167 | "video.js", | ||
168 | "p2p-media-loader-hlsjs", | 161 | "p2p-media-loader-hlsjs", |
169 | "videojs-hotkeys/videojs.hotkeys", | 162 | "video.js", |
170 | "p2p-media-loader-core", | 163 | "sha1", |
171 | "qrcode", | ||
172 | "webtorrent", | ||
173 | "cache-chunk-store", | ||
174 | "global/document", | ||
175 | "videojs-vtt.js", | ||
176 | "videojs-vtt.js", | ||
177 | "@babel/runtime/helpers/possibleConstructorReturn", | ||
178 | "@babel/runtime/helpers/inherits", | ||
179 | "@babel/runtime/helpers/construct", | ||
180 | "@videojs/xhr", | ||
181 | "htmlparser2", | ||
182 | "url", | ||
183 | "parse-srcset", | ||
184 | "postcss" | 164 | "postcss" |
185 | ], | 165 | ], |
186 | "scripts": [] | 166 | "scripts": [], |
167 | "vendorChunk": true, | ||
168 | "extractLicenses": false, | ||
169 | "buildOptimizer": false, | ||
170 | "sourceMap": true, | ||
171 | "optimization": false, | ||
172 | "namedChunks": true | ||
187 | }, | 173 | }, |
188 | "configurations": { | 174 | "configurations": { |
189 | "production": { | 175 | "production": { |
@@ -191,7 +177,6 @@ | |||
191 | "outputHashing": "all", | 177 | "outputHashing": "all", |
192 | "sourceMap": false, | 178 | "sourceMap": false, |
193 | "namedChunks": false, | 179 | "namedChunks": false, |
194 | "aot": true, | ||
195 | "extractLicenses": true, | 180 | "extractLicenses": true, |
196 | "vendorChunk": false, | 181 | "vendorChunk": false, |
197 | "buildOptimizer": true, | 182 | "buildOptimizer": true, |
@@ -251,8 +236,6 @@ | |||
251 | "serve": { | 236 | "serve": { |
252 | "builder": "@angular-devkit/build-angular:dev-server", | 237 | "builder": "@angular-devkit/build-angular:dev-server", |
253 | "options": { | 238 | "options": { |
254 | "baseHref": "/", | ||
255 | "deployUrl": "client/", | ||
256 | "browserTarget": "PeerTube:build", | 239 | "browserTarget": "PeerTube:build", |
257 | "proxyConfig": "proxy.config.json" | 240 | "proxyConfig": "proxy.config.json" |
258 | }, | 241 | }, |