webpack.config.js 307 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
/**
 * 不是真实的 webpack 配置,仅为兼容 webstorm 和 intellij idea 代码跳转
 * ref: https://github.com/umijs/umi/issues/1109#issuecomment-423380125
 */

module.exports = {
  resolve: {
    alias: {
      '@': require('path').resolve(__dirname, 'src'), // eslint-disable-line
    },
  },
};