Open 7iomka opened 4 years ago
import some variable in vue.config.js and use it in configuration in which changes are made after installing the some plugin
I don't understand what that means.
Please provide a valid, runnable reproduction as is required in our issue guidelines.
import some variable in vue.config.js and use it in configuration in which changes are made after installing the some plugin
I don't understand what that means.
Please provide a valid, runnable reproduction as is required in our issue guidelines.
https://codesandbox.io/s/ecstatic-morning-jk4le
I don't know if codesandbox supporting terminal commands and how to run it, but,
download this demo project, and try to instal plugin vue add i18n
you will se in vue.config.js that
patterns: scssResources
will be replaced with
patterns: [
absoulteResolvedPathToFile,
...,
]
I dont know why, but this happens when installed plugin add some configuration in vue.config.js
Version
4.1.2
Environment info
Steps to reproduce
import some variable in vue.config.js and use it in configuration in which changes are made after installing the some plugin
What is expected?
imported variable will note be changed
What is actually happening?
variable will be replaced with static imported and resolved value!