-
-
Notifications
You must be signed in to change notification settings - Fork 318
Open
Labels
Description
I'm trying to use the following config for my app and noticed that the appIndex
setting doesn't seem to work when setting rootDir
to ../../
:
import { esbuildPlugin } from "@web/dev-server-esbuild";
import { fromRollup } from '@web/dev-server-rollup';
import rollupCommonjs from '@rollup/plugin-commonjs';
const commonjs = fromRollup(rollupCommonjs);
export default {
nodeResolve: true,
appIndex: `packages/ui/src/index.html`,
rootDir: '../../',
debug: true,
plugins: [
esbuildPlugin({ ts: true }),
commonjs({
include: [
'../../node_modules/fast-json-stable-stringify/index.js',
'../../node_modules/zen-observable/**/*'
]
})
],
};
I've tried using an absolute path and various relative paths (src/index.html
, ../../packages/ui/src/index.html
) with no success.