Skip to content

Commit

Permalink
fix: serve issue with new version of umi
Browse files Browse the repository at this point in the history
  • Loading branch information
leftstick committed Sep 3, 2018
1 parent f1c3ab5 commit 2994ec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generators/app/templates/server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function resolveFromRoot(...relativePath) {

function replaceWithEnv() {
const options = {
files: resolveFromRoot('dist/static/*.js')
files: resolveFromRoot('dist/*.js')
}

const keys = Object.keys(ENVS)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-umi",
"version": "2.0.0",
"version": "2.0.1",
"description": "umi project generator",
"files": [
"generators"
Expand Down

0 comments on commit 2994ec2

Please sign in to comment.