Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 281 Bytes

webpack-config.md

File metadata and controls

9 lines (5 loc) · 281 Bytes

webpack 配置

require 使用变量的问题

require(`${path_to_file}`);require(path_to_file); 居然不一样,前者没问题,后者会报错:Uncaught Error: Cannot find module "."

webpack/webpack#4921

不知道为什么。