/**
 * @author 梁安帝
 * @date 2022-3-3
 * @desc 只是为了让webstorm识别别名，无其它作用
 * */

function resolve(dir) {
  return path.join(__dirname, dir)
}

module.exports = {
  resolve: {
    alias: {
      '@': resolve(__dirname, 'src'),
      '~@': resolve(__dirname, 'src'),
      '@views': resolve(__dirname, 'src/views'),
      '@components': resolve(__dirname, 'src/components')
    }
  }
};