Skip to content

CSS modules and namedExport, Shakapacker uses default which is not the standard #587

Description

@justin808

Need some feedback on the our non-standard way of handling CSS modules. The default for namedExport (true) is not the standard used by other systems like Next.js.

https://chatgpt.com/share/68c8de8e-bb00-8002-b5eb-8f4df46ccd47

This AI discussion suggests we add a YAML configuration:

# config/shakapacker.yml (template for new apps)
css_modules:
  named_export: false
Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions