forked from serverless-heaven/serverless-webpack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Do not remove any section of the template. If something is not applicable leave it empty but leave it in the PR 2. Please follow the template, otherwise we'll have to ask you to update it and it will take longer until your PR is merged --> Closes serverless-heaven#433 <!-- Briefly describe the feature if no issue exists for this PR. If possible only submit PRs for existing issues. If the PR is trivial (like doc changes or simple code fixes) it can be submitted without a related issue, but as soon as it adds or changes functionality, a related issue should be present. --> Fairly trivial, just used the ignore option in glob to exclude files matching the glob. 1. Setup a serverless project with an index.test.js and an index.js that handle a route 2. Start it up and see that you get a warning about duplicate files matching for index 3. Now pull in this PR 4. add the following to your serverless.yml file in the custom > webpack section `excludeFiles: **/*.test.js` 5. restart serverless 6. see that the warnings are now gone! - [x] Write tests - [ ] Write documentation - [x] Fix linting errors - [x] Make sure code coverage hasn't dropped - [x] Provide verification config / commands / resources - [x] Enable "Allow edits from maintainers" for this PR - [x] Update the messages below ***Is this ready for review?:*** YES ***Is it a breaking change?:*** NO
- Loading branch information
1 parent
61e62db
commit b76b7d0
Showing
4 changed files
with
49 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters