Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(vite): resolve PURE comment warnings
remove `/*@__PURE__*/` comment pragma warnings from vite v5/rollup v4 from a pragma that was applied to a variable assignment that rollup can't understand. prior to this fix, building a stencil/ionic project using stencil would result in a warning in the console similar to the following: ``` vite v5.0.0-beta.14 building for production... node_modules/.pnpm/@Stencil+core@4.7.0/node_modules/@stencil/core/internal/client/index.js (3800:17) A comment "/*@__PURE__*/" in "node_modules/.pnpm/@Stencil+core@4.7.0/node_modules/@stencil/core/internal/client/index.js" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues. ``` Stencil-996 bug: vite v5 warning fixes: #5008
- Loading branch information