vuepress / core

Vue-Powered Static Site Generator
https://vuepress.vuejs.org
MIT License
2.16k stars 922 forks source link

feat(bundler-webpack): enable css-modules for .module.css files (close #1557) #1560

Closed meteorlxy closed 1 month ago

meteorlxy commented 1 month ago

Before submitting the PR, please make sure you do the following

What is the purpose of this pull request?

Description

Closes #1557

BREAKING CHANGE: For webpack bundler, css-modules will be enabled for *.module.[ext] files. The previous *.[ext]?module usage is no longer supported.

meteorlxy commented 1 month ago

@Mister-Hope - It seems that the current ?module usage is not working in webpack. Could you help to take a look?

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 9125869941

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/bundler-webpack/src/config/handleModuleStyles.ts 0 3 0.0%
<!-- Total: 0 3 0.0% -->
Totals Coverage Status
Change from base Build 9112585623: 0.1%
Covered Lines: 688
Relevant Lines: 1710

💛 - Coveralls