We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a685e4 commit 8eff892Copy full SHA for 8eff892
theme/index.js
@@ -69,15 +69,15 @@ module.exports = (options, ctx) => {
69
],
70
});
71
72
- // txt file
73
- config.module
74
- .rule('txt-file')
75
- .test(/\.(txt)(\?.*)?$/)
76
- .use('file-loader')
77
- .loader('file-loader')
78
- .options({
79
- name: 'assets/file/[path][name].[ext]',
80
- });
+ // txt file (废弃)
+ // config.module
+ // .rule('txt-file')
+ // .test(/\.(txt)(\?.*)?$/)
+ // .use('file-loader')
+ // .loader('file-loader')
+ // .options({
+ // name: 'assets/file/[path][name].[ext]',
+ // });
81
82
// demo file
83
config.module
0 commit comments