Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Merge pull request #119 from gochigo/hotfix-webpack-glob-error
Browse files Browse the repository at this point in the history
fixed glob error related to copy-webpack-plugin
  • Loading branch information
paganotoni authored Mar 14, 2022
2 parents de958c6 + b793866 commit 0fbc2be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 5 additions & 2 deletions internal/cmd/build/build_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@ func TestBuild(t *testing.T) {
appname: "sqlite",
},
{
// this test covers too things at once (to save testing time)
// 1. originally this test case is for `--skip-pop`
// 2. by using "src" as appname, it covers webpack-copy glob issue (pull/119)
name: "skipop",
newargs: []string{"new", "skipop", "-f", "--skip-pop", "--vcs", "none"},
newargs: []string{"new", "src", "-f", "--skip-pop", "--vcs", "none"},
resourceargs: []string{"g", "action", "phone", "new"},
appname: "skipop",
appname: "src",
},
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ const configurator = {
from: "./assets",
globOptions: {
ignore: [
"**/css/**",
"**/js/**",
"**/assets/css/**",
"**/assets/js/**",
"**/assets/src/**",
]
}
}],
Expand Down

0 comments on commit 0fbc2be

Please sign in to comment.