vue-loader icon indicating copy to clipboard operation
vue-loader copied to clipboard

fix: get unique module-id by the hash resourcePath

Open yansenlei opened this issue 3 years ago • 0 comments

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

yansenlei avatar Sep 21 '22 10:09 yansenlei