|
29 | 29 | "cedar-embeddable-editor", |
30 | 30 | "cedar-artifact-viewer", |
31 | 31 | "markdown-it-video", |
| 32 | + "markdown-it-anchor", |
| 33 | + "markdown-it-toc-done-right", |
32 | 34 | "ace-builds/src-noconflict/ext-language_tools", |
33 | 35 | "@traptitech/markdown-it-katex", |
| 36 | + "@centerforopenscience/markdown-it-atrules", |
34 | 37 | "@citation-js/core", |
35 | 38 | "@citation-js/plugin-csl" |
36 | 39 | ], |
|
60 | 63 | "node_modules/ngx-markdown-editor/assets/highlight.js/highlight.min.js", |
61 | 64 | "node_modules/ngx-markdown-editor/assets/marked.min.js", |
62 | 65 | "src/assets/js/ace/snippetsMarkdown.js" |
63 | | - ] |
| 66 | + ], |
| 67 | + "server": "src/main.server.ts", |
| 68 | + "outputMode": "server", |
| 69 | + "ssr": { |
| 70 | + "entry": "src/server.ts" |
| 71 | + } |
64 | 72 | }, |
65 | 73 | "configurations": { |
66 | 74 | "production": { |
| 75 | + "outputMode": "static", |
| 76 | + "server": false, |
| 77 | + "ssr": false, |
| 78 | + "budgets": [ |
| 79 | + { |
| 80 | + "type": "initial", |
| 81 | + "maximumWarning": "9MB", |
| 82 | + "maximumError": "10MB" |
| 83 | + }, |
| 84 | + { |
| 85 | + "type": "anyComponentStyle", |
| 86 | + "maximumWarning": "20KB", |
| 87 | + "maximumError": "25kB" |
| 88 | + } |
| 89 | + ], |
| 90 | + "outputHashing": "all", |
| 91 | + "optimization": true |
| 92 | + }, |
| 93 | + "ssr": { |
| 94 | + "outputMode": "server", |
| 95 | + "server": "src/main.server.ts", |
| 96 | + "ssr": { |
| 97 | + "entry": "src/server.ts" |
| 98 | + }, |
67 | 99 | "budgets": [ |
68 | 100 | { |
69 | 101 | "type": "initial", |
|
116 | 148 | "with": "src/environments/environment.staging.ts" |
117 | 149 | } |
118 | 150 | ] |
119 | | - }, |
120 | | - "test": { |
121 | | - "optimization": true, |
122 | | - "extractLicenses": false, |
123 | | - "sourceMap": false, |
124 | | - "fileReplacements": [ |
125 | | - { |
126 | | - "replace": "src/environments/environment.ts", |
127 | | - "with": "src/environments/environment.test.ts" |
128 | | - } |
129 | | - ] |
130 | | - }, |
131 | | - "test-osf": { |
132 | | - "optimization": true, |
133 | | - "extractLicenses": false, |
134 | | - "sourceMap": false, |
135 | | - "fileReplacements": [ |
136 | | - { |
137 | | - "replace": "src/environments/environment.ts", |
138 | | - "with": "src/environments/environment.test-osf.ts" |
139 | | - } |
140 | | - ] |
141 | 151 | } |
142 | 152 | }, |
143 | 153 | "defaultConfiguration": "production" |
144 | 154 | }, |
145 | 155 | "serve": { |
146 | 156 | "builder": "@angular-devkit/build-angular:dev-server", |
| 157 | + "options": { |
| 158 | + "hmr": false |
| 159 | + }, |
147 | 160 | "configurations": { |
148 | 161 | "production": { |
149 | 162 | "buildTarget": "osf:build:production" |
150 | 163 | }, |
151 | 164 | "development": { |
152 | | - "buildTarget": "osf:build:development", |
153 | | - "hmr": true |
| 165 | + "buildTarget": "osf:build:development" |
154 | 166 | }, |
155 | 167 | "docker": { |
156 | | - "buildTarget": "osf:build:docker", |
157 | | - "hmr": true |
| 168 | + "buildTarget": "osf:build:docker" |
158 | 169 | }, |
159 | 170 | "staging": { |
160 | | - "buildTarget": "osf:build:staging", |
161 | | - "hmr": true |
| 171 | + "buildTarget": "osf:build:staging" |
162 | 172 | }, |
163 | 173 | "test": { |
164 | | - "buildTarget": "osf:build:test", |
165 | | - "hmr": false |
| 174 | + "buildTarget": "osf:build:test" |
166 | 175 | }, |
167 | 176 | "test-osf": { |
168 | | - "buildTarget": "osf:build:test-osf", |
169 | | - "hmr": false |
| 177 | + "buildTarget": "osf:build:test-osf" |
170 | 178 | } |
171 | 179 | }, |
172 | 180 | "defaultConfiguration": "development" |
|
0 commit comments