Webpack 2: Error: options/query cannot be used with loaders (use options for each array item)
I had this snippet in my webpack config
{ test: /\.(ts|tsx)$/,
loader: ['ts-loader'],
options: { appendTsSuffixTo: [/\.vue$/] } },
When I removed the [] around 'ts-loader' the error went away, e.g.
{ test: /\.(ts|tsx)$/,
loader: 'ts-loader',
options: { appendTsSuffixTo: [/\.vue$/] } },
I think the message is saying you can't use options/query for multiple loaders. It can't be an array, it has to be a single loader.