You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run yarn install to install the project with vue-loader: 14.0.0.
Run yarn dev and note that there are two Vue logos showing up, one after the other.
Stop the server.
Edit the package.json and update vue-loader to 14.1.0.
Run yarn install to install vue-loader: 14.1.0.
Run yarn dev and note that the second Vue logo no longer shows up.
What is expected?
The second image should be showing up.
The second image is a custom component that relies on the transformToRequire config to have Test: 'source' in order to transform it's source prop into a require() statement.
See build/vue-loader.conf.js for the config I'm talking about.
What is actually happening?
Since 14.1.0, vue-loader is ignoring the transformToRequire property in the config.
Version
14.1.0
Reproduction link
https://github.com/andreyrd/vue-loader-transformtorequire-demo
Steps to reproduce
yarn install
to install the project withvue-loader: 14.0.0
.yarn dev
and note that there are two Vue logos showing up, one after the other.package.json
and updatevue-loader
to14.1.0
.yarn install
to installvue-loader: 14.1.0
.yarn dev
and note that the second Vue logo no longer shows up.What is expected?
The second image should be showing up.
The second image is a custom component that relies on the transformToRequire config to have
Test: 'source'
in order to transform it'ssource
prop into arequire()
statement.See
build/vue-loader.conf.js
for the config I'm talking about.What is actually happening?
Since 14.1.0,
vue-loader
is ignoring thetransformToRequire
property in the config.I believe the bug was introduced here: 289b4d9#diff-7c7d4918b118d27d18538f53b8155e88L138
The text was updated successfully, but these errors were encountered: