vue-loader
vue-loader copied to clipboard
fix: get unique module-id by the hash resourcePath
Get unique module-id by the hash resourcePath, This makes it possible for multiple projects to run simultaneously on a single project.
e.g. A parent project has two sub-project, To prevent the module-id conflict.
Before:
ProjectA/src/view.vue => module-id: f82f3d04
ProjectB/src/view.vue => module-id: f82f3d04
After:
ProjectA/src/view.vue => module-id: 541fde99
ProjectB/src/view.vue => module-id: 35fda838