Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Commit

Permalink
build: remake rollup build process, add postbuild to account for lodash
Browse files Browse the repository at this point in the history
  • Loading branch information
rayhanadev committed Jun 21, 2021
1 parent 7873912 commit deece16
Show file tree
Hide file tree
Showing 13 changed files with 2,933 additions and 498 deletions.
9 changes: 9 additions & 0 deletions .scripts/postbuild.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import replace from 'replace';

replace({
regex: 'lodash',
replacement: 'lodash-es',
paths: ['./dist/replapi-it.mjs'],
recursive: true,
silent: false,
});
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<img src="images/logo.jpg" alt="Logo" width="600" height="200">
</a>

<h3 align="center">REPLAPI.it</h3>
<h3 align="center">ReplAPI.it</h3>

<p align="center">
A Simple and Complete Replit API Package
Expand Down
Loading

0 comments on commit deece16

Please sign in to comment.