-
- Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Description
Version
3.0.0-beta.6
Reproduction link
https://jsfiddle.net/50wL7mdz/298228/
Steps to reproduce
I run npm run build
this command, then console throw a error that
D:\project\vuets\node_modules\_webpack@3.11.0@webpack\lib\RuleSet.js:274 throw new Error("No loader specified");
.
I have a config of vue.config.js like this:
module.exports = { chainWebpack: (config) => { config.module .rule('images') .use('url-loader') .tap(options => ({ ...options, ...{ name: 'img/[name].[ext]', } })) } }
Is anything wrong?
What is expected?
normal build and output files
What is actually happening?
throw a error of No loader specified
Metadata
Metadata
Assignees
Labels
No labels