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

Add webpack loader support for '.css.ts' imports #48222

Closed
wants to merge 9 commits into from
2 changes: 1 addition & 1 deletion packages/next/src/build/webpack/loaders/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function isClientComponentModule(mod: {
return hasClientDirective || imageRegex.test(mod.resource)
}

export const regexCSS = /\.(css|scss|sass)(\?.*)?$/
export const regexCSS = /\.(css|scss|sass|css\.ts)(\?.*)?$/

export function getActions(mod: {
resource: string
Expand Down