-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
documentationenhancementintend to implementThe team has the intention to implement this feature at some point. Contribution is also welcome.The team has the intention to implement this feature at some point. Contribution is also welcome.
Description
Version
3.0.0-alpha.13
Reproduction link
https://github.com/maurop123/vuecli3-test
Steps to reproduce
Starting from a project generated with vue cli 3
npm i -D cli-plugin-foobar
vue invoke cli-plugin-foobar
- open files.txt. should see
files: {}
Or with pwa plugin...
npm i -D @vue/cli-plugin/pwa
vue invoke pwa
- notice that main.js wasn't updated although it should have been
What is expected?
In postProcessFiles(files =>
of generator API, the files
args should contain the existing files.... right?
What is actually happening?
In postProcessFiles(files =>
of generator API, the files
args is an empty object.
I was trying to add an import statement in main.js. I noticed that the pwa plugin seems to have the same code. When I tried running it, I noticed that main.js wasn't updated.
Where pwa generator index.js checks if (main)
, main is probably undefined.
Metadata
Metadata
Assignees
Labels
documentationenhancementintend to implementThe team has the intention to implement this feature at some point. Contribution is also welcome.The team has the intention to implement this feature at some point. Contribution is also welcome.