diff --git a/lib/webpack/createBaseConfig.js b/lib/webpack/createBaseConfig.js index b26788ddac..4410026e24 100644 --- a/lib/webpack/createBaseConfig.js +++ b/lib/webpack/createBaseConfig.js @@ -42,7 +42,7 @@ module.exports = function createBaseConfig ({ .set('@temp', path.resolve(__dirname, '../app/.temp')) .set('@default-theme', path.resolve(__dirname, '../default-theme')) .set('@AlgoliaSearchBox', isAlgoliaSearch - ? path.resolve(__dirname, '../default-theme/AlgoliaSearchBox.vue') + ? './AlgoliaSearchBox.vue' : path.resolve(__dirname, './noopModule.js')) .end() .extensions