Skip to content
This repository has been archived by the owner on Nov 4, 2018. It is now read-only.

如何针对不同的entry做不同的modifyVars #164

Open
alpha-chain opened this issue Dec 26, 2017 · 2 comments
Open

如何针对不同的entry做不同的modifyVars #164

alpha-chain opened this issue Dec 26, 2017 · 2 comments

Comments

@alpha-chain
Copy link

webpack 打包多个entry,我想针对不同的entry所用到的less做不同的modifyVars,该怎么配置呢?

@coffeexy
Copy link

coffeexy commented Jul 4, 2018

关注

@atav32
Copy link

atav32 commented Jul 9, 2018

Maybe you could do something like,

index1.js imports theme1.less (containing modifyVars) imports styles.less (common rules)
index2.js imports theme2.less (containing different modifyVars) imports styles.less (common rules)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants