You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a JS umd file exported with contents from an Angular 6 library. In order to use it, the "right" approach would be using the tsconfig file, but as tracked here #220 it is still not possible.
I've tried also uploading the tgz file and adding the tag under package.json's dependencies, like:
"@lib/components": "file:./path_to_tgz.tgz"
But it also doesn't work.
Currently I'm being "forced" to use the imports like
import {Component} from '../lib_file'
But that is far from optimal, since it'd require me changing the all the demos during runtime.
Are there any workarounds?
Thanks!
The text was updated successfully, but these errors were encountered:
I have a
JS
umd file exported with contents from an Angular 6 library. In order to use it, the "right" approach would be using the tsconfig file, but as tracked here #220 it is still not possible.I've tried also uploading the tgz file and adding the tag under package.json's dependencies, like:
"@lib/components": "file:./path_to_tgz.tgz"
But it also doesn't work.
Currently I'm being "forced" to use the imports like
import {Component} from '../lib_file'
But that is far from optimal, since it'd require me changing the all the demos during runtime.
Are there any workarounds?
Thanks!
The text was updated successfully, but these errors were encountered: