packages/cli: avoid including src/index when serving backend src/run
This commit is contained in:
@@ -178,8 +178,7 @@ export function createBackendConfig(
|
||||
context: paths.targetPath,
|
||||
entry: [
|
||||
'webpack/hot/poll?100',
|
||||
paths.targetEntry,
|
||||
...(paths.targetRunFile ? [paths.targetRunFile] : []),
|
||||
paths.targetRunFile ? paths.targetRunFile : paths.targetEntry,
|
||||
],
|
||||
resolve: {
|
||||
extensions: ['.ts', '.tsx', '.mjs', '.js', '.jsx'],
|
||||
|
||||
Reference in New Issue
Block a user