1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-02 07:47:32 +00:00

update config

This commit is contained in:
杨顺强 2023-12-26 16:20:16 +08:00
parent c2b272bd00
commit 013595d744

View File

@ -598,7 +598,7 @@ module.exports = function (webpackEnv) {
// its runtime that would otherwise be processed through "file" loader.
// Also exclude `html` and `json` extensions so they get processed
// by webpacks internal loaders.
exclude: [/^$/, /\.(js|mjs|jsx|ts|tsx)$/, /\.html$/, /\.json$/],
exclude: [/^$/, /\.(js|mjs|jsx|ts|tsx)$/, /\.html$/, /\.json$/, /axios/],
type: 'asset/resource',
},
// ** STOP ** Are you adding a new loader?