Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OJET Typescript Project Build --Release Errors

sheryfAug 1 2021 — edited Aug 1 2021

Hello,
I have an existing project (my first project)
. version: ojet 6 migrated to ojet 11.
. typescript enabled = yes
I am using a range of custom components some of which depend on each other too.
Everything works fine however I am at that stage for optimising performance now and I'm hitting some roadblocks without much reference online specific to oraclejet.
'' ojet build web --release "
This results in errors related to imported components in my typescript files as dependencies.
example.
in cc-metro-admin-asset-assettags-viewModel.ts, custom component is imported as below.
import "cc-metro-editor-customer/loader";

during build release, I encounter
DE4LU.png
It appears the .js transpiled versions expect the web components in a different path.

Note: ojet build web works fine, but obviously this is not optimised for the browser.

Any pointers and support will be appreciated.

thanks

This post has been answered by Duncan Mills-Oracle on Aug 2 2021
Jump to Answer
Comments
Post Details
Added on Aug 1 2021
6 comments
422 views