webpack.config.js 284 B

123456789101112
  1. /**
  2. * 不是真实的 webpack 配置,仅为兼容 webstorm 和 intellij idea 代码跳转
  3. * ref: https://github.com/umijs/umi/issues/1109#issuecomment-423380125
  4. */
  5. module.exports = {
  6. resolve: {
  7. alias: {
  8. '@': require('path').resolve(__dirname, 'src'),
  9. },
  10. },
  11. };