Comments (3)
Hi @gokaygurcan
Its hard to answer why that decision was made, would hazard a guess and say that it was probably the easier thing to do since the template id is a known value and therefore we would not have to do any validation to ensure proper folder creation.
For example if you name you project something like @my-company/e-comm-storefront
there would be obvious issues creating a folder by that name or extra work. This is were the outputDir option came in.
That all being said, this isn't what I would classify as a bug so changing the behaviour would have to wait for a next major version bump if we were to accept this as work we want to do. I'd simply recommend that you user the outputDir
option as it seems to do what you need it to do.
I'll wait for your response. Thanks
from pwa-kit.
Hi @bendvc,
Thank you for your answer.
True, I agree, it doesn't feel like a bug, but bug template was a better option than feature request or security issue purely because of the structure. I don't have any timeline or immediate request to publish any update before the next major release.
With that said, it's just confusing. CLI should be useful and helpful, instead of only focusing on the least amount of keystrokes. I asked this question to understand the reason behind. If it's about keeping the keystrokes minimum, I'd argue against, but if it was just a result of evolution and sporadic updates on the file, that's more understandable and maybe something we can agree to improve over time.
I hope this gives more context.
from pwa-kit.
Thanks for the context @gokaygurcan I've added this to an to an internal doc to track improvements for next major release. For the time being i'm going to close this as it's strictly speaking not an issue/bug. We are accepting PR's if this is something that you are passionate about seeing in the next release and I can work on reviewing that for you.
from pwa-kit.
Related Issues (20)
- [BUG] Jest tests throw invalid parameter warning HOT 2
- [BUG] - operation not permitted HOT 1
- [BUG] Support Non-ASCII characters in HTTP Request Header Values HOT 3
- [FEATURE] Add support for hi-res / medium images to image gallery HOT 2
- [BUG] v3.5 - Duplicate subpath in request to get oauth token HOT 1
- [FEATURE] Add Sitemap handling HOT 2
- [FEATURE] Shopper Context Integration
- [BUG]Out of stock products should also be considered as unavailable products and be removed from cart and checkout page HOT 1
- [BUG] Seo component not setting keywords meta tag HOT 3
- [BUG] Cannot use import statement outside a module HOT 10
- [BUG] Missing onContextChange callback for version 2.8 HOT 1
- [FEATURE] Allow multiple MRT environments to share a single domain
- [FEATURE] Support Maintenance Mode 🚧 HOT 1
- [BUG] Custom parameters not taking into account for cache invalidation HOT 2
- [FEATURE] Identify traffic coming from MRT HOT 1
- [FEATURE] withReactQuery - add an option to seed the queryClient or to prefetch query HOT 3
- [BUG] Duplicated request for async/defer scripts using react-helmet HOT 3
- [BUG] Unsupported engine on NodeJS 22, NPM 10 HOT 1
- [DOCS] Examples of extending webpack configuration HOT 1
- [FEATURE] Support multiple `siteAliases` for a B2C Commerce Site HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwa-kit.