精简后的项目:仅保留 api/ui 源码、文档、构建依赖
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Mock .svg imports
|
||||
*/
|
||||
|
||||
const path = require('path')
|
||||
|
||||
module.exports = {
|
||||
process(_, filename) {
|
||||
return 'module.exports = "' + path.basename(filename) + '.svg"'
|
||||
},
|
||||
getCacheKey(_, filename) {
|
||||
// The output is based on path.
|
||||
return path.basename(filename)
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user