Browse Source

feat: 移除冗余

dev
jiannibang 3 years ago
parent
commit
abb9f70fde
  1. 10
      public/static/offline/qianmugo/themes/main/index.js

10
public/static/offline/qianmugo/themes/main/index.js

@ -1,10 +0,0 @@
import style from './style.json'
function importAll(r) {
const obj = {}
r.keys().forEach(key => {
obj[key.replace('./', '').replace('.png', '')] = r(key)
})
return obj
}
const images = importAll(require.context('./', false, /\.(png|jpe?g|svg)$/))
export default { ...style, images }
Loading…
Cancel
Save