vuepress / core

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

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

Closed meteorlxy closed 6 months ago

meteorlxy commented 6 months 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 6 months ago

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

coveralls commented 6 months 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