Skip to content

Commit

Permalink
fix: lock ext txt
Browse files Browse the repository at this point in the history
  • Loading branch information
zyao89 committed Feb 24, 2020
1 parent ef7ac03 commit 6c6287b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ module.exports = (options, ctx) => {
],
});

// static file
// txt file
config.module
.rule('static-file')
.test(/\.(file)(\..*)?$/)
.rule('txt-file')
.test(/\.(txt)(\?.*)?$/)
.use('file-loader')
.loader('file-loader')
.options({
Expand Down

0 comments on commit 6c6287b

Please sign in to comment.