Skip to content

Commit

Permalink
Merge pull request #2012 from h3poteto/remove/unused-packages
Browse files Browse the repository at this point in the history
Remove unused packages from vite
  • Loading branch information
h3poteto authored Oct 29, 2023
2 parents 6475298 + 6680563 commit ca36f81
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 914 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ pnpm add megalodon
yarn add megalodon
```

### Build for browsers
If you want to build for browser, please use Webpack and set empty value for some libraries which are not supported in NodeJS.
[Here](https://github.com/h3poteto/megalodon/tree/master/example/browser/webpack.config.js) is example Webpack configuration.

## Usage

There are code [examples](https://github.com/h3poteto/megalodon/tree/master/example), abd please refer to the [documentation](https://h3poteto.github.io/megalodon/) about each method.
Expand Down
5 changes: 1 addition & 4 deletions example/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
},
"devDependencies": {
"typescript": "^5.0.2",
"vite": "^4.4.5",
"node-stdlib-browser": "^1.2.0",
"vite-plugin-node-stdlib-browser": "^0.2.1",
"process": "^0.11.10"
"vite": "^4.4.5"
}
}
Loading

0 comments on commit ca36f81

Please sign in to comment.