dashboard-shell-shell 3.0.5-test.11 → 3.0.5-test.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pkg/vue.config.js +1 -1
- package/vue.config.js +1 -1
package/package.json
CHANGED
package/pkg/vue.config.js
CHANGED
|
@@ -73,7 +73,7 @@ module.exports = function(dir) {
|
|
|
73
73
|
});
|
|
74
74
|
|
|
75
75
|
// Auto-generate module to import the types (model, detail, edit etc)
|
|
76
|
-
const autoImportPlugin = new VirtualModulesPlugin({ 'node_modules/
|
|
76
|
+
const autoImportPlugin = new VirtualModulesPlugin({ 'node_modules/@rancher/auto-import': generateTypeImport('@pkg', dir) });
|
|
77
77
|
|
|
78
78
|
config.plugins.unshift(dynamicImporterOverride);
|
|
79
79
|
config.plugins.unshift(modelLoaderImporterOverride);
|
package/vue.config.js
CHANGED
|
@@ -356,7 +356,7 @@ const getVirtualModulesAutoImport = (dir) => {
|
|
|
356
356
|
fs.readdirSync(pkgFolder)
|
|
357
357
|
.filter((name) => !name.startsWith('.')) // Ignore hidden folders
|
|
358
358
|
.forEach((name) => {
|
|
359
|
-
autoImportTypes[`node_modules/
|
|
359
|
+
autoImportTypes[`node_modules/@rancher/auto-import/${ name }`] = generateDynamicTypeImport(`@pkg/${ name }`, path.join(dir, `pkg/${ name }`));
|
|
360
360
|
});
|
|
361
361
|
}
|
|
362
362
|
|