From faeaf2fd5d162cc151eff6475b44679c58c9be1a Mon Sep 17 00:00:00 2001 From: encode42 Date: Sun, 11 Feb 2024 00:03:58 -0500 Subject: [PATCH] Update generated files list --- readme.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/readme.md b/readme.md index ada6d21..d72d510 100644 --- a/readme.md +++ b/readme.md @@ -182,11 +182,9 @@ Ensure [PNPM](https://pnpm.io/) and [Node.js](https://nodejs.org/) are installed 1. Enter the directory containing the nbs.js source code in your terminal. 2. Install the build dependencies via `pnpm install`. -3. Run `pnpm run build` to generate the Node.js and browser modules. +3. Run `pnpm run build` to generate the ESM and browser modules. Generated files: -- `dist/cjs.js`: CommonJS bundle, used by Node.js. -- `dist/esm.js`: ES module for browser script modules. -- `dist/umd.js`: UMD bundle for browser scripts. -- `dist/*.min.js`: Minified bundle. -- `build/`: Built ES2021 files. +- `dist/`: ESM bundle files for Node.js and related +- `dist/*.glbal.js`: UMD bundle files for browser scripts +- `build/`: Built ES2020 files.