Skip to content

Commit

Permalink
fix: error on loading when using nuxt-vite (#1251)
Browse files Browse the repository at this point in the history
The import needs to be provided since it's imported unconditionally.

Fixes nuxt/vite#156
  • Loading branch information
rchl committed Aug 2, 2021
1 parent dde070f commit cb67e05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/templates/options.js
Expand Up @@ -67,5 +67,9 @@ export const localeMessages = {
%>
}
<%
} else {
%>
export const localeMessages = {}
<%
}
%>

0 comments on commit cb67e05

Please sign in to comment.