dotCMS / core

Headless/Hybrid Content Management System for Enterprises

Home Page:http://dotcms.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix webcomponents packaging path

spbolton opened this issue · comments

We are deploying the wrong level of folder for webcomponents in core-web. There is confusion due to the folder name appearing at multiple levels in the output

We were incorrectly packaging for deployment to WEB-INF the folder

dist/libs/dotcms-webcomponents

where we should be deploying

dist/libs/dotcms-webcomponents/dist/dotcms-webcomponents

Tests

This should provide a 404
http://server:port/dotcms-webcomponents/dist/dotcms-webcomponents/dotcms-webcomponents.esm.js
This should return the javascript
http://server:port/dotcms-webcomponents/dotcms-webcomponents.esm.js