Open
Description
I've used this extension for years - thank you - but I came to use it again today on a new project and when doing npx mix
I get this warning:
WARNING: You should add "svelte" to the "resolve.conditionNames" array in your webpack config. See https://github.com/sveltejs/svelte-loader#resolveconditionnames for more information
I have tried the following in my webpack.mix.js
to no avail:
mix
.js('src/adminux.js', 'dist')
.webpackConfig({
resolve: {
alias: {
svelte: path.resolve('node_modules', 'svelte')
},
conditionNames: ['svelte']
},
})
.svelte();
I tried it without the alias bit too - trying to copy bits from https://github.com/sveltejs/svelte-loader
Metadata
Metadata
Assignees
Labels
No labels