Skip to content

Commit

Permalink
Browser package was tweaking
Browse files Browse the repository at this point in the history
  • Loading branch information
MotorTruck1221 committed Aug 10, 2024
1 parent c991e2a commit 1e743b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion browser/farm.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export default defineConfig({
output: {
path: 'dist',
publicPath: '/',
targetEnv: 'browser'
clean: false,
targetEnv: 'browser',
}
},
});
6 changes: 4 additions & 2 deletions browser/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rubynetwork/rammerhead-browser",
"version": "1.0.0",
"version": "1.0.1",
"description": "Easily use Rammerhead in your browser",
"type": "module",
"exports": {
Expand All @@ -10,7 +10,9 @@
"scripts": {
"types": "tsc --declaration --emitDeclarationOnly --outDir dist/ --declarationMap",
"type-check": "tsc --noEmit",
"build": "farm build && babel src/ --out-dir dist/ --extensions '.ts' --copy-files",
"build:bundle": "farm build",
"build:normal": "babel src/ --out-dir dist/ --extensions '.ts' --copy-files",
"build": "pnpm run build:bundle && pnpm run build:normal",
"release": "npm publish --access public"
},
"repository": {
Expand Down

0 comments on commit 1e743b4

Please sign in to comment.