Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Updated to build target ES2020
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Feb 27, 2024
1 parent d50096c commit fc5f3de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const options = parseArgs({

const ctx = await context({
entryPoints: ['src/index.ts'],
target: 'es6',
target: 'es2020',
globalName: 'BrowserFS_ISO',
outfile: 'dist/browser.min.js',
sourcemap: true,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "NodeNext",
"target": "ES2015",
"target": "ES2020",
"outDir": "dist",
"lib": ["ESNext", "DOM"],
"moduleResolution": "NodeNext",
Expand Down

0 comments on commit fc5f3de

Please sign in to comment.