Skip to content
Evergreen Evergreen
Documentation

vue2-script-setup-transform is deprecated

Deprecated. The source gives no day. Replacement: unplugin-vue2-script-setup. Source: vue2-script-setup-transform on npm.

Check a version:

evergreen check pkg:npm/vue2-script-setup-transform

npm marks vue2-script-setup-transform as deprecated: “renamed to unplugin-vue2-script-setup, see https://github.com/antfu/unplugin-vue2-script-setup/releases/tag/v0.4.0”

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status Deprecated
Severity medium
Ecosystem npm
Component pkg:npm/vue2-script-setup-transform
Affected versions vers:npm/*
Date from the source The source gives no day
Replacement unplugin-vue2-script-setup
Evidence last seen 2026-10-19
Reviewed 2026-10-19 by arminazimi, drafted by the npm-deprecated importer
Review due 2027-10-19 (365 days after the last review)
Rule ID npm.package.vue2-script-setup-transform.deprecated

Sources

Migration

Constraints

  • Preserve the compiled <script setup> output and the order of Vue 2 build plugins.

Steps

  1. Replace the transform plugin. Replace vue2-script-setup-transform with unplugin-vue2-script-setup in dependencies and the build configuration.
  2. Verify compiled components. Compare the compiled single-file components and their runtime behavior with the previous build.

Verification

  • npm run build --if-present: Build the Vue 2 application with the maintained plugin.
  • npm run test --if-present: Run the component and repository tests when defined.

Detected by

The npm detector. See Detectors and Compatibility.

Same ecosystem

Data

This page is generated from registry/npm.json, rule npm.package.vue2-script-setup-transform.deprecated, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated