Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Version
5.0.0
Reproduction link
https://codesandbox.io/s/crazy-engelbart-c3bw0?file=/src/components/HelloWorld.vue
Steps to reproduce
add custom block to vue sfc with a src attribute. e.g:
configure rollup-plugin vue to include 'my-thing' custom block
add transform to rollup to handle custom block, e.g
What is expected?
when using the transform, I'd expect to be able to access the 'src' attribute either as a path or from the
code
prop.What is actually happening?
'code' is undefined and src isn't available as a path