Repository navigation
fix(dev,preview,typecheck): use explicit --dotenv filename - #381
Conversation
danielroe
left a comment
There was a problem hiding this comment.
Will running npx nuxi preview --dotenv continue to work as expected (ie. a non-breaking change)?
--dotenv arg--dotenv arg
commit: |
Bundle StatsHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger
Smaller No assets were smaller Unchanged
|
--dotenv arg.env filename from --dotenv arg
| logger.error(`Cannot find \`${envFileName}\`.`) | ||
| process.exit(1) |
There was a problem hiding this comment.
should we just warn in this case?
danielroe
left a comment
There was a problem hiding this comment.
checking, this doesn't seem to resolved the linked issue - .env is used as a the 'fallback' instead of .env.local.
Bundle Stats — create-nuxt size comparisonHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger
Smaller No assets were smaller Unchanged
|
Bundle Stats — nuxt-cli size comparisonHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger
Smaller No assets were smaller Unchanged
|
Bundle Stats — nuxi size comparisonHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger
Smaller No assets were smaller Unchanged
|
.env filename from --dotenv arg--dotenv filename
resolves #360
This corrects types for the
--dotenvflag and sets the default value at source.