Skip to content

We should not keep a minified version of respec.js #3845

@Bellangelo

Description

@Bellangelo

Problem

There are 2 minified versions of respec.js for 3.x and for 4.x versions. These files exists in the gh-pages:

  1. /js/respec-oai.js
  2. /js/respec-arrazzo.js

These files are basically unmaintainable and should instead try to store a human-readable version of it.

Proposed solution

There is a respec-oai.build.js.map which might help us decouple the minified version respec-oai.js.
After we succeed in decoupling the file and keep only the source code in our repo, we need to add a build step in our deploy process so we can push the minified version again.

Alternative Proposal

Do not use a modified fork of ReSpec, instead use the unmodified original, see #3944.

Metadata

Metadata

Assignees

Labels

HousekeepingscriptPull requests that update Bash or JavaScript code

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions