Skip to content

Commit

Permalink
feat: add client and ability to make state reactive
Browse files Browse the repository at this point in the history
  • Loading branch information
thedadams committed May 7, 2024
1 parent cc56263 commit 59c661f
Show file tree
Hide file tree
Showing 2 changed files with 214 additions and 161 deletions.
30 changes: 15 additions & 15 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@ import commonjs from 'rollup-plugin-commonjs';
import typescript from '@rollup/plugin-typescript';

export default [{
input: 'dist/gptscript.js',
output: {
name: "GPTScript",
file: "dist/gptscript.browser.js",
format: 'iife',
sourcemap: true,
},
external: [
'net','http','path','child_process','sse.js',
],
plugins: [
typescript(),
commonjs(),
resolve(),
],
input: 'dist/gptscript.js',
output: {
name: "GPTScript",
file: "dist/gptscript.browser.js",
format: 'iife',
sourcemap: true,
},
external: [
'net', 'http', 'path', 'child_process', 'sse.js',
],
plugins: [
typescript(),
commonjs(),
resolve({preferBuiltins: true}),
],
}];
Loading

0 comments on commit 59c661f

Please sign in to comment.