Skip to content

[ideas] a proper suffix for buckle generated js files #2037

Closed
@bobzhang

Description

@bobzhang

It could be

"x.re" => "x.re.js"
"x.ml" => "x.ml.js"
or all to "x.bs.js" (trivial to implement)

The benefit is that it is easy to tell whether such js file is coming from bsc, and easy to manage in version control, and easy to remove staled output files.

Other thoughts:

  1. How to deal with forthcoming ".mjs"
  2. Shall we apply such rules to all output or just in-source output

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions