From da60b8785894ea1362a30415931a07c12e53156b Mon Sep 17 00:00:00 2001 From: Denis Demchenko Date: Sun, 2 May 2021 12:24:17 +0300 Subject: [PATCH] feat: propose stencil.assetsRoot property The stencil.assetsRoot property is supposed to standardize the way of working with the assets and make integrations of libraries easier for the users of libraries. It's supposed to be something, that maintainers edit, so they can go with basically any other name for the folder other than `assets`. --- package.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package.json b/package.json index dea6463..0bd3a8c 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,9 @@ "collection": "dist/collection/collection-manifest.json", "collection:main": "dist/collection/index.js", "unpkg": "dist/stencil-starter-project-name/stencil-starter-project-name.esm.js", + "stencil": { + "assetsRoot": "dist/stencil-starter-project-name/assets" + }, "files": [ "dist/", "loader/"