Skip to content

Commit

Permalink
fix: [V1 design] impose .h.js
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Jun 3, 2023
1 parent f1d0cf2 commit 744247a
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -40,13 +40,11 @@ async function transpileAndLoadFile(filePath: FilePath, isPageConfig: boolean):
if (!res.noImportStatement) {
if (!isHeader) {
const filePathCorrect = appendHeaderFileExtension(filePathToShowToUser)
/* TODO: decide what to do
assertWarning(
false,
`Rename ${filePathToShowToUser} to ${filePathCorrect}, see https://vite-plugin-ssr.com/header-file`,
{ onlyOnce: true, showStackTrace: false }
)
*/
}
code = res.code
fileImports = res.fileImports

0 comments on commit 744247a

Please sign in to comment.