Generator fix pwa-kit.config template path #357
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes the path to obtain the
pwa-kit.config
template in thepwa-kit-create-app/scripts/create-mobify-app.js
script. The template includes the configuration to not include the locale in the URL as part of generating a project with a single-locale.The previous solution assumed that the
create-mobify-app.js
script was always run from the root of the monorepo.Types of Changes
Changes
How to Test-Drive This PR
generator-single-locale-fix-path
.npm ci
.create-mobify-app
script:packages/pwa-kit-create-app
by running thecreate-mobify-app
script:pwa-kit.config.js
file:Checklists
General
Accessibility Compliance
You must check off all items in one of the follow two lists:
or...
Localization