---
title: "vue-loader 17.0.0 Breaking Changes on npm | Since.dev"
description: "What each vue-loader release removed, renamed or changed: 25 breaking changes in 6 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/vue-loader
last_updated: 2026-12-04
---

# 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

Latest version `17.4.2`, released December 30, 2023. 

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [16.0.0](#v-16-0-0) to [17.0.0](#v-17-0-0): 1 breaking change in 1 version.
- From [15.0.0](#v-15-0-0) to [17.0.0](#v-17-0-0): 15 breaking changes in 4 versions.

## vue-loader 17.0.0 breaking changes

vue-loader 17.0.0, released December 12, 2021: 1 breaking change.

- **Removed** `VueLoaderOptions.refSugar`  

The refSugar option is gone. Remove it from your loader configuration. [npmjs.com](https://www.npmjs.com/package/vue-loader/v/17.0.0)

## vue-loader 16.0.0 breaking changes

vue-loader 16.0.0, released November 25, 2020: 12 breaking changes.

- **Removed** `VueLoaderOptions.cacheDirectory`  

VueLoaderOptions.cacheDirectory was removed in vue-loader 16.0.0 [npmjs.com](https://www.npmjs.com/package/vue-loader/v/16.0.0)
- **Removed** `VueLoaderOptions.cacheIdentifier`  

VueLoaderOptions.cacheIdentifier was removed in vue-loader 16.0.0 [npmjs.com](https://www.npmjs.com/package/vue-loader/v/16.0.0)
- **Removed** `VueLoaderOptions.experimentalInlineMatchResource`  

VueLoaderOptions.experimentalInlineMatchResource was removed in vue-loader 16.0.0 [npmjs.com](https://www.npmjs.com/package/vue-loader/v/16.0.0)
- **Removed** `VueLoaderOptions.optimizeSSR`  

VueLoaderOptions.optimizeSSR was removed in vue-loader 16.0.0 [npmjs.com](https://www.npmjs.com/package/vue-loader/v/16.0.0)
- **Removed** `VueLoaderOptions.prettify`  

VueLoaderOptions.prettify was removed in vue-loader 16.0.0 [npmjs.com](https://www.npmjs.com/package/vue-loader/v/16.0.0)
- **Removed** `VueLoaderOptions.productionMode`  

VueLoaderOptions.productionMode was removed in vue-loader 16.0.0 [npmjs.com](https://www.npmjs.com/package/vue-loader/v/16.0.0)
- **Removed** `VueLoaderOptions.shadowMode`  

VueLoaderOptions.shadowMode was removed in vue-loader 16.0.0 [npmjs.com](https://www.npmjs.com/package/vue-loader/v/16.0.0)
- **Removed** `VueLoaderOptions.transpileOptions`  

VueLoaderOptions.transpileOptions was removed in vue-loader 16.0.0 [npmjs.com](https://www.npmjs.com/package/vue-loader/v/16.0.0)
- **Signature changed** `default`  

Was namespace VueLoader; now function loader(this: webpack.loader.LoaderContext, source: string): string | void. [npmjs.com](https://www.npmjs.com/package/vue-loader/v/16.0.0)
- **Signature changed** `VueLoaderOptions.compiler`  

Was compiler?: VueTemplateCompiler; now compiler?: TemplateCompiler | string. [npmjs.com](https://www.npmjs.com/package/vue-loader/v/16.0.0)

And 2 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## vue-loader 16.0.0-rc.2 breaking changes

vue-loader 16.0.0-rc.2, released November 25, 2020: 1 breaking change.

- **Behavior changed**  

The regenerated type definitions no longer rely on esModuleInterop or allowSyntheticDefaultImports, which can change how TypeScript users import the package. [github.com](https://github.com/vuejs/vue-loader/releases/tag/v16.0.0-rc.2)

## vue-loader 16.0.0-beta.2 breaking changes

vue-loader 16.0.0-beta.2, released November 25, 2020: 1 breaking change.

- **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](https://github.com/vuejs/vue-loader/releases/tag/v16.0.0-beta.2)

## vue-loader 15.0.0 breaking changes

vue-loader 15.0.0, released April 24, 2018: 9 breaking changes.

- **Renamed** `transformToRequire`  

Use transformAssetUrls instead of transformToRequire. [vue-loader.vuejs.org](https://vue-loader.vuejs.org/migrating.html)
- **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](https://vue-loader.vuejs.org/migrating.html)
- **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](https://vue-loader.vuejs.org/migrating.html)
- **Behavior changed**  

Configure postcss-loader for CSS the same way you would for normal CSS files. [vue-loader.vuejs.org](https://vue-loader.vuejs.org/migrating.html)
- **Behavior changed**  

Change babel-loader exclude rules to a function that whitelists Vue SFCs inside node_modules. [vue-loader.vuejs.org](https://vue-loader.vuejs.org/migrating.html)
- **Behavior changed**  

Styles are now all injected at startup, so CSS must not rely on insertion order. [vue-loader.vuejs.org](https://vue-loader.vuejs.org/migrating.html)
- **Configuration changed**  

Enable modules and localIdentName in css-loader options in your webpack rules instead of Vue Loader options. [vue-loader.vuejs.org](https://vue-loader.vuejs.org/migrating.html)
- **Configuration changed**  

Update the nodeExternals whitelist so style imports from dependencies with resourceQuery strings are still bundled. [vue-loader.vuejs.org](https://vue-loader.vuejs.org/migrating.html)
- **Configuration changed**  

Add the VueLoaderPlugin to the plugins array of your webpack config or Vue files will not work. [vue-loader.vuejs.org](https://vue-loader.vuejs.org/migrating.html)

## vue-loader 15.0.0-beta.7 breaking changes

vue-loader 15.0.0-beta.7, released April 24, 2018: 1 breaking change.

- **Behavior changed**  

Templates with a lang attribute are now processed by webpack loaders as well, so loader configuration applies to them. [github.com](https://github.com/vuejs/vue-loader/blob/v15.0.0/CHANGELOG.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
