refactor: remove deprecated scopeId codegen
BREAKING CHANGE: Output of SFC using `<style scoped>` generated by 3.2+ will be incompatible w/ runtime <3.2.
This commit is contained in:
@@ -148,15 +148,6 @@ export function compileScript(
|
||||
)
|
||||
}
|
||||
|
||||
// TODO remove on 3.2
|
||||
if (sfc.template && sfc.template.attrs['inherit-attrs'] === 'false') {
|
||||
warnOnce(
|
||||
`Experimental support for <template inherit-attrs="false"> support has ` +
|
||||
`been removed. Use a <script> block with \`export default\` to ` +
|
||||
`declare options.`
|
||||
)
|
||||
}
|
||||
|
||||
const scopeId = options.id ? options.id.replace(/^data-v-/, '') : ''
|
||||
const cssVars = sfc.cssVars
|
||||
const scriptLang = script && script.lang
|
||||
|
||||
Reference in New Issue
Block a user