Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vite posthtml doesn't work #103

Open
aminya opened this issue Jul 2, 2022 · 1 comment
Open

vite posthtml doesn't work #103

aminya opened this issue Jul 2, 2022 · 1 comment

Comments

@aminya
Copy link

aminya commented Jul 2, 2022

It gives the following error:

node:internal/errors:465
    ErrorCaptureStackTrace(err);
    ^

TypeError [ERR_INVALID_ARG_VALUE]: The property 'options.entryTypes' options.entryTypes can not set with options.type together. Received [ 'measure' ]     
    at new NodeError (node:internal/errors:372:5)
    at PerformanceObserver.observe (node:internal/perf/observe:217:13)
    at posthtmlPlugin (.\node_modules\.pnpm\vite-plugin-posthtml@0.0.3\node_modules\vite-plugin-posthtml\index.js:32:12)
    at file:///C:/test/astro.config.mjs:19:7 {
  code: 'ERR_INVALID_ARG_VALUE'
}
@rossPatton
Copy link

Yeah honestly I wish they would update the docs or provide examples on how to use it. I'm trying to migrate a project and figuring out how the config object needs to be setup is quite frustrating

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants