Fix paths for running the website from source (#2807)

This commit is contained in:
Alex Dima 2021-12-08 14:04:09 +01:00
parent 6b2f528d9f
commit 233ecd49b1
No known key found for this signature in database
GPG key ID: 39563C1504FDD0C9
5 changed files with 21 additions and 21 deletions

View file

@ -98,7 +98,7 @@ function generateWebsite() {
}
let contents = file.contents.toString();
contents = contents.replace(/\.\.\/\.\.\/release\/dev/g, 'node_modules/monaco-editor/min');
contents = contents.replace(/\.\.\/release\/dev/g, 'node_modules/monaco-editor/min');
// contents = contents.replace(/\.\.\/\.\.\/release\/dev/g, '../monaco-editor/release/dev');
contents = contents.replace(/{{version}}/g, MONACO_EDITOR_VERSION);
contents = contents.replace(/{{year}}/g, String(new Date().getFullYear()));