I've used your app-deps package in my own app, wondering if you can help.
I've copied from your source and removed the deps I don't need (all but lodash, kept exposify and added yup) and I get an error on the client side when importing a dep.
import { yup } from 'app-deps';
Uncaught (in promise) [Universe Modules]: Trying to load module "//app-deps/index/main" that doesn't exist!
Error loading /_modules_/packages//app-deps/index/main as "app-deps" from /_modules_/app/client/components/EmailForm
I think the added /index/ is the problem as I see a module in the resulting app-deps.js source /_modules_/packages/app-deps/main
system-config.js
/* global System */
System.config({
packages: {
'app-deps': {
main: 'main',
format: 'register',
map: {
'.': System.normalizeSync('{app-deps}')
}
}
}
});
Any idea what could be causing this? Much appreciated