vue-loader breaking changes
vue-loader 17.0.0 (December 12, 2021) is its newest release with breaking changes. The first: Removed VueLoaderOptions.refSugar. Every breaking API change we have recorded in vue-loader on npm: 25 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 17.4.2, released December 30, 2023.
Packages on npm run on Node.js. Node.js end of life dates.
- From 16.0.0 to 17.0.0: 1 breaking change in 1 version.
- From 15.0.0 to 17.0.0: 15 breaking changes in 4 versions.
vue-loader 17.0.0 breaking changes
- Removed
VueLoaderOptions.refSugar
The refSugar option is gone. Remove it from your loader configuration. npmjs.com
vue-loader 16.0.0 breaking changes
- Removed
VueLoaderOptions.cacheDirectory
VueLoaderOptions.cacheDirectory was removed in vue-loader 16.0.0 npmjs.com - Removed
VueLoaderOptions.cacheIdentifier
VueLoaderOptions.cacheIdentifier was removed in vue-loader 16.0.0 npmjs.com - Removed
VueLoaderOptions.experimentalInlineMatchResource
VueLoaderOptions.experimentalInlineMatchResource was removed in vue-loader 16.0.0 npmjs.com - Removed
VueLoaderOptions.optimizeSSR
VueLoaderOptions.optimizeSSR was removed in vue-loader 16.0.0 npmjs.com - Removed
VueLoaderOptions.prettify
VueLoaderOptions.prettify was removed in vue-loader 16.0.0 npmjs.com - Removed
VueLoaderOptions.productionMode
VueLoaderOptions.productionMode was removed in vue-loader 16.0.0 npmjs.com - Removed
VueLoaderOptions.shadowMode
VueLoaderOptions.shadowMode was removed in vue-loader 16.0.0 npmjs.com - Removed
VueLoaderOptions.transpileOptions
VueLoaderOptions.transpileOptions was removed in vue-loader 16.0.0 npmjs.com - Signature changed
default
Was namespace VueLoader; now function loader(this: webpack.loader.LoaderContext, source: string): string | void. npmjs.com - Signature changed
VueLoaderOptions.compiler
Was compiler?: VueTemplateCompiler; now compiler?: TemplateCompiler | string. npmjs.com
And 2 more in this version. Sign up to see every change
vue-loader 16.0.0-rc.2 breaking changes
- Behavior changed
The regenerated type definitions no longer rely on esModuleInterop or allowSyntheticDefaultImports, which can change how TypeScript users import the package. github.com
vue-loader 16.0.0-beta.2 breaking changes
- Behavior changed
The package now uses an ES module export instead of module.exports, so CommonJS require() callers may need to update how they import it. github.com
vue-loader 15.0.0 breaking changes
- Renamed
transformToRequire
Use transformAssetUrls instead of transformToRequire. vue-loader.vuejs.org - Behavior changed
Template languages such as pug are no longer compiled by consolidate; you need a plain HTML loader such as pug-plain-loader. vue-loader.vuejs.org - Behavior changed
Style and other language blocks are handled as if they were plain files, so you must add explicit webpack rules for them such as for .less files. vue-loader.vuejs.org - Behavior changed
Configure postcss-loader for CSS the same way you would for normal CSS files. vue-loader.vuejs.org - Behavior changed
Change babel-loader exclude rules to a function that whitelists Vue SFCs inside node_modules. vue-loader.vuejs.org - Behavior changed
Styles are now all injected at startup, so CSS must not rely on insertion order. vue-loader.vuejs.org - Configuration changed
Enable modules and localIdentName in css-loader options in your webpack rules instead of Vue Loader options. vue-loader.vuejs.org - Configuration changed
Update the nodeExternals whitelist so style imports from dependencies with resourceQuery strings are still bundled. vue-loader.vuejs.org - Configuration changed
Add the VueLoaderPlugin to the plugins array of your webpack config or Vue files will not work. vue-loader.vuejs.org
vue-loader 15.0.0-beta.7 breaking changes
- Behavior changed
Templates with a lang attribute are now processed by webpack loaders as well, so loader configuration applies to them. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.