primate 0.20.3 → 0.20.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/app.js +3 -5
package/package.json
CHANGED
package/src/app.js
CHANGED
|
@@ -144,11 +144,9 @@ export default async (config, root, log) => {
|
|
|
144
144
|
key.replace(".", module),
|
|
145
145
|
value.import?.replace(".", `./${module}`) ?? value.default.replace(".", `./${module}`),
|
|
146
146
|
]));
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
type: "module",
|
|
151
|
-
})));
|
|
147
|
+
const dependency = Path.resolve().join(...path);
|
|
148
|
+
const to = new Path(paths.client, build.modules, dependency.name);
|
|
149
|
+
await dependency.file.copy(to);
|
|
152
150
|
this.importmaps = {
|
|
153
151
|
...valmap(exports, value => new Path(root, build.modules, value).path),
|
|
154
152
|
...this.importmaps};
|