From 85e3172fc267a7e36f5eaa7cc6732b04205ce65b Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Wed, 4 Sep 2024 17:34:12 -0500 Subject: [PATCH] CLDR-17803 docs/site: use assets/vendor instead of node_modules --- docs/site/.gitignore | 1 + docs/site/_config.yml | 4 ---- docs/site/_layouts/page.html | 3 +-- docs/site/package.json | 2 +- 4 files changed, 3 insertions(+), 7 deletions(-) diff --git a/docs/site/.gitignore b/docs/site/.gitignore index 9fbbb2c6f27..f72d4052c50 100644 --- a/docs/site/.gitignore +++ b/docs/site/.gitignore @@ -1,2 +1,3 @@ /node_modules /assets/json +/assets/vendor diff --git a/docs/site/_config.yml b/docs/site/_config.yml index 65571896a21..bc499f53c14 100644 --- a/docs/site/_config.yml +++ b/docs/site/_config.yml @@ -18,7 +18,3 @@ defaults: path: '' values: layout: page - -include: - - node_modules - diff --git a/docs/site/_layouts/page.html b/docs/site/_layouts/page.html index acf9f2694bc..cd4c5d9816a 100644 --- a/docs/site/_layouts/page.html +++ b/docs/site/_layouts/page.html @@ -32,8 +32,7 @@ © 1991-2024 Unicode, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. See Terms of Use. - - + diff --git a/docs/site/package.json b/docs/site/package.json index d54a71d2eab..3eac2b7b0ac 100644 --- a/docs/site/package.json +++ b/docs/site/package.json @@ -5,7 +5,7 @@ "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "node assets/js/build.mjs", - "postinstall": "cp node_modules/vue/dist/vue.global.prod.js node_modules/vue/dist/vue_global_prod.js" + "postinstall": "mkdir -p assets/vendor ; cp node_modules/vue/dist/vue.global.prod.js assets/vendor" }, "keywords": [], "author": "Steven R. Loomis ",