fix: no .map
fix: no map
This commit is contained in:
@@ -98,10 +98,12 @@ export class WorkspaceTypertGenerator {
|
||||
const remoteActual = manifest.exports !== null && typeof manifest.exports === 'object'
|
||||
? (manifest.exports as Record<string, unknown>)['./remote']
|
||||
: undefined
|
||||
// The declaration map is emitted beside these two but never published: it
|
||||
// serves editor navigation in the workspace, where the package link
|
||||
// resolves its source.
|
||||
const remoteFiles = [
|
||||
'lib/typert.remote-client.js',
|
||||
'lib/typert.remote-client.d.ts',
|
||||
'lib/typert.remote-client.d.ts.map',
|
||||
]
|
||||
if (artifact.remote === undefined) {
|
||||
if (remoteActual !== undefined || remoteFiles.some(file => files.includes(file))) {
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
"lib/typert.host.js",
|
||||
"lib/typert.host.d.ts",
|
||||
"lib/typert.remote-client.js",
|
||||
"lib/typert.remote-client.d.ts",
|
||||
"lib/typert.remote-client.d.ts.map"
|
||||
"lib/typert.remote-client.d.ts"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user