Skip to content

Commit

Permalink
fix: files lost in plugin/templates when publish to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Sep 2, 2019
1 parent 3902832 commit 493b348
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/generators/plugin/templates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@
"umi": "^2.9.0-beta.6",
"umi-types": "^0.3.17"
},
<% if (true) { %>
"files": [
"dist",
"lib",
"src",
"ui"
],
<% } %>
"license": "MIT"
}

0 comments on commit 493b348

Please sign in to comment.