Skip to content

Commit

Permalink
link to existing docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Feb 15, 2023
1 parent d710d6f commit 5c535b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ for (let i = 0; i < process.argv.length; i++) {
try {
const config = require(path.resolve(process.cwd(), configFile));
if (!config.resolve || !config.resolve.conditionNames || !config.resolve.conditionNames.includes('svelte')) {
console.warn('\n\u001B[1m\u001B[31mWARNING: You should add "svelte" to the "resolve.conditionNames" array in your webpack config.\u001B[39m\u001B[22m\n');
console.warn('\n\u001B[1m\u001B[31mWARNING: You should add "svelte" to the "resolve.conditionNames" array in your webpack config. See https://github.com/sveltejs/svelte-loader#resolveconditionnames for more information\u001B[39m\u001B[22m\n');
}
} catch (e) {
// do nothing and hope for the best
Expand Down

0 comments on commit 5c535b4

Please sign in to comment.