Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue-cli use plugin is error #286

Closed
wojiaoxiaomayun opened this issue Mar 14, 2023 · 1 comment
Closed

vue-cli use plugin is error #286

wojiaoxiaomayun opened this issue Mar 14, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@wojiaoxiaomayun
Copy link

wojiaoxiaomayun commented Mar 14, 2023

Environment

node version:14.21.3
vue-cli-service:4.5.13
I upgraded to the highest version(16....),but this still not
If you need more information, please contact me

Reproduction

this is my plugin
@zkwq/unplugin-color-change

Describe the bug

run code 99%,webpack error,I did't get other error info.

  • -!../node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"500d5e3f-vue-loader-template"}!../node_modules/.store/[email protected]/node_modules/unplugin/dist/webpack/loaders/transform.js??unplugin-color-change!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/babel-loader/lib/index.js!../node_modules/vue-loader/lib/loaders/templateLoader.js??ref--7!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=template&id=7ba5bd90& in ./src/App.vue?vue&type=template&id=7ba5bd90&

Additional context

vue.config.js
const {webpackPlugin,BaseUIColors} = require('@zkwq/unplugin-color-change');
plugins: [
webpackPlugin({
[BaseUIColors.primary]:{
color:'red'
}
})
]

Logs

No response

@sxzz
Copy link
Member

sxzz commented Mar 14, 2023

Fixed via 166ef6f
Please wait for the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants