diff options
| author | Stef Gijsberts <stef@stef.link> | 2021-10-31 23:56:26 +0100 | 
|---|---|---|
| committer | Yuchen Pei <hi@ypei.me> | 2021-11-09 16:06:05 +1100 | 
| commit | 0f6fbdaa4dd0aed4e830da244f7bf1b6ceaaaf26 (patch) | |
| tree | 6045fc9d100d19fc08184ed370d41a701b200d68 /hash_script/node_modules | |
| parent | f8d2fdd802b66767d9bc80685ebdac5740bdb8dc (diff) | |
Fixing json files so that librejs builds again
This is needed to build the project using Webpack v2 or v3 [0].
The following commands were used for the conversion:
  $ mv licenses.json licenses.old.json
  $ cat licenses.old.json \
    |  sed $'s/module.exports = //g' \
    |  tr \' \" |  tr -d ';' \
    |  sed $'s/licenses: /"licenses": /g' \
    >  licenses.json
  $ mv fname_data.json fname_data.old.json
  $ cat fname_data.old.json \
    |  sed $'s/module.exports = //g'\
    |  tr \' \"  \
    |  tr -d ';'  \
    |  sed $'s/fname_data : /"fname_data": /g' \
    > fname_data.json
[0]:
https://webpack.js.org/migrate/3/#json-loader-is-not-required-anymore
Thanks also to Andrea G. Monaco for an identical patch: <https://lists.gnu.org/archive/html/bug-librejs/2021-05/msg00002.html>
Diffstat (limited to 'hash_script/node_modules')
0 files changed, 0 insertions, 0 deletions
