ci: correct webpack 4 job (#2)
A webpack plugin to enforce case-sensitive paths when resolving module, similar to the well-known case-sensitive-paths-webpack-plugin project.
The difference is:
node_modules
asset/inline
So this plugin has better performance than it.
Install:
$ npm i @umijs/case-sensitive-paths-webpack-plugin --save-dev
Configure in webpack.config.js:
webpack.config.js
const CaseSensitivePathsPlugin = require('@umijs/case-sensitive-paths-webpack-plugin'); module.exports = { plugins: [ new CaseSensitivePathsPlugin(), ], };
That’s all.
This project is inspired by case-sensitive-paths-webpack-plugin, thanks!
MIT
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
@umijs/case-sensitive-paths-webpack-plugin
A webpack plugin to enforce case-sensitive paths when resolving module, similar to the well-known case-sensitive-paths-webpack-plugin project.
The difference is:
node_modulesresourcesasset/inlineresourcesSo this plugin has better performance than it.
Usage
Install:
Configure in
webpack.config.js:That’s all.
Thanks
This project is inspired by case-sensitive-paths-webpack-plugin, thanks!
LICENSE
MIT