Closed mahnunchik closed 7 months ago
@mahnunchik sourcemap-codec isn't a direct dependency of this package. I don't see what we can do about it?
@gkatsanos According to the documentation of @vue/compiler-sfc it should be replaced by main vue package as:
const { compileTemplate } = require('vue/compiler-sfc')
// or
import { compileTemplate } from 'vue/compiler-sfc/index.js';
Note: as of 3.2.13+, this package is included as a dependency of the main vue
package and can be accessed as vue/compiler-sfc
. This means you no longer need to explicitly install this package and ensure its version match that of vue
's. Just use the main vue/compiler-sfc
deep import instead.
@gkatsanos great, thank you! I think vue
can be added to peerDependencies
.
@gkatsanos could you please release 4.1 to npm
I dont have publish permissions. @jpkleemans
Released
According to the documentation of
@vue/compiler-sfc
module https://www.npmjs.com/package/@vue/compiler-sfc it may be replaced by mainvue
package.