webpack-contrib / stylus-loader

:art: A stylus loader for webpack.
MIT License
498 stars 99 forks source link

Multi entry point duplication #293

Closed mytecor closed 4 years ago

mytecor commented 4 years ago

Expected Behavior

.box,.child,.test{border-width:2px;border-style:solid;padding:0 20px;margin:0 6px;max-width:400px}
.child{border-style:dotted;border-color:#008000}
.test{border-color:#f00}

Actual Behavior

.box{border-width:2px;border-style:solid;padding:0 20px;margin:0 6px;max-width:400px}
.box,.child{border-width:2px;border-style:solid;padding:0 20px;margin:0 6px;max-width:400px}
.child{border-style:dotted;border-color:#008000}
.box,.test{border-width:2px;border-style:solid;padding:0 20px;margin:0 6px;max-width:400px}
.test{border-color:#f00}

How Do We Reproduce?

Repo

yarn build
alexander-akait commented 4 years ago

It is not problem with stylus-loader, please ask this in stylus repo

mytecor commented 4 years ago

But with single entry it works fine