Warning: mysqli_query(): (HY000/1021): Disk full (/tmp/#sql_51b_2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device") in /opt/lampp/htdocs/wordpress/wp-includes/wp-db.php on line 2033
webpack关于alias(Webpack about alias)-web – 知识波

webpack关于alias(Webpack about alias)

 还有一种特殊的语法:key 的末尾带一个 $ 字符,表示精确匹配。


~字符开头,Webpack 会将以~符号作为前缀的路径视作依赖模块而去解析



There is also a special syntax: a $character at the end of the key indicates an exact match.


~At the beginning of the character, webpack will resolve the path prefixed with the ~ symbol as a dependent module

(waiting for improvement)