diff --git a/bundlers/docs/reference/bun-plugin/.nojekyll b/bundlers/docs/reference/bun-plugin/.nojekyll
deleted file mode 100644
index e2ac6616ad..0000000000
--- a/bundlers/docs/reference/bun-plugin/.nojekyll
+++ /dev/null
@@ -1 +0,0 @@
-TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
\ No newline at end of file
diff --git a/bundlers/docs/reference/bun-plugin/README.md b/bundlers/docs/reference/bun-plugin/README.md
deleted file mode 100644
index 02aa8b0422..0000000000
--- a/bundlers/docs/reference/bun-plugin/README.md
+++ /dev/null
@@ -1,59 +0,0 @@
-@evmts/bun-plugin / [Exports](/reference/bun-plugin/modules.md)
-
-# @evmts/plugin-bun
-
-A bun plugin for importing solidity files.
-
-### Installation
-
-Install build dependencies
-
-```typescript
-bun install -D bun-types @evmts/bun-plugin @evmts/ts-plugin @evmts/core solc
-```
-
-### Setup
-
-first create a `plugins.ts` file
-
-```typescript
-import { evmtsBunPlugin } from "@evmts/bun-plugin";
-import { plugin } from 'bun'
-
-plugin(evmtsBunPlugin())
-```
-
-Next load your `plugin.ts` file in your `bunfig.toml`
-
-```toml
-preload = ["./plugins.ts"]
-
-# add to [test] to use plugin in bun test too
-[test]
-preload = ["./plugins.ts"]
-```
-
-### Usage
-
-Once set up you can import solidity files directly from node modules such as `openzepplin/contracts` or your source code. You can use with viem ethersjs or any other library.
-
-```typescript
-import { http, createPublicClient } from 'viem'
-import { optimismGoerli } from 'viem/chains'
-import { ExampleContract } from './ExampleContract.sol'
-
-export const publicClient = createPublicClient({
- chain: optimismGoerli,
- transport: http('https://goerli.optimism.io'),
-})
-
-const owner = '0x8f0ebdaa1cf7106be861753b0f9f5c0250fe0819'
-
-publicClient.readContract(
- ExampleContract.read({ chainId: optimismGoerli.id }).balanceOf(owner)
-).then(console.log)
-
-```
-## License 📄
-
-
diff --git a/bundlers/docs/reference/bun-plugin/modules.md b/bundlers/docs/reference/bun-plugin/modules.md
deleted file mode 100644
index dd42051cdb..0000000000
--- a/bundlers/docs/reference/bun-plugin/modules.md
+++ /dev/null
@@ -1,39 +0,0 @@
-[@evmts/bun-plugin](/reference/bun-plugin/README.md) / Exports
-
-# @evmts/bun-plugin
-
-## Table of contents
-
-### Functions
-
-- [evmtsBunPlugin](/reference/bun-plugin/modules.md#evmtsbunplugin)
-
-## Functions
-
-### evmtsBunPlugin
-
-â–¸ **evmtsBunPlugin**(): `BunPlugin`
-
-@evmts/bun-plugin is a bun plugin that allows you to import solidity files into your typescript files
-and have them compiled to typescript on the fly.
-
-#### Returns
-
-`BunPlugin`
-
-**`Example`**
-
-```ts plugin.ts
-import { evmtsBunPlugin } from '@evmts/esbuild-plugin'
-import { plugin } from 'bun'
-
-plugin(evmtsBunPlugin())
-```
-
-```ts bunfig.toml
-preload = ["./plugins.ts"]
-```
-
-#### Defined in
-
-[plugin.js:21](https://github.com/evmts/evmts-monorepo/blob/main/bundlers/bun/src/plugin.js#L21)
diff --git a/bundlers/docs/reference/esbuild-plugin/.nojekyll b/bundlers/docs/reference/esbuild-plugin/.nojekyll
deleted file mode 100644
index e2ac6616ad..0000000000
--- a/bundlers/docs/reference/esbuild-plugin/.nojekyll
+++ /dev/null
@@ -1 +0,0 @@
-TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
\ No newline at end of file
diff --git a/bundlers/docs/reference/esbuild-plugin/README.md b/bundlers/docs/reference/esbuild-plugin/README.md
deleted file mode 100644
index 0dbcc36fcf..0000000000
--- a/bundlers/docs/reference/esbuild-plugin/README.md
+++ /dev/null
@@ -1,47 +0,0 @@
-@evmts/esbuild-plugin / [Exports](/reference/esbuild-plugin/modules.md)
-
-# @evmts/plugin
-
-A webpack plugin for importing solidity files.
-
-## Installation
-
-```bash
-pnpm i @evmts/webpack-plugin
-```
-
-## Usage
-
-Install webpack plugin
-
-```bash
-npm i @evmts/webpack-plugin
-```
-
-Add to your webpack config
-
-```typescript
-import {ForgePlugin} from '@evmts/webpack-plugin'
-
-export default {
- // ... other configuration settings
- plugins: [
- // ... other plugins
- new ForgePlugin({
- project: './contracts'
- }),
- ],
-};
-```
-
-## ConfigOptions
-
-## Usage in @evmts/core
-
-## Usage in other libraries
-
-## Autocompletion and Typesafety
-
-## License 📄
-
-
diff --git a/bundlers/docs/reference/esbuild-plugin/modules.md b/bundlers/docs/reference/esbuild-plugin/modules.md
deleted file mode 100644
index d12319a21b..0000000000
--- a/bundlers/docs/reference/esbuild-plugin/modules.md
+++ /dev/null
@@ -1,30 +0,0 @@
-[@evmts/esbuild-plugin](/reference/esbuild-plugin/README.md) / Exports
-
-# @evmts/esbuild-plugin
-
-## Table of contents
-
-### Functions
-
-- [esbuildPluginEvmts](/reference/esbuild-plugin/modules.md#esbuildpluginevmts)
-
-## Functions
-
-### esbuildPluginEvmts
-
-â–¸ **esbuildPluginEvmts**(`options?`): `Plugin`
-
-#### Parameters
-
-| Name | Type |
-| :------ | :------ |
-| `options?` | `Object` |
-| `options.compiler?` | ``"solc"`` \| ``"foundry"`` |
-
-#### Returns
-
-`Plugin`
-
-#### Defined in
-
-bundler/types/src/unplugin.d.ts:13
diff --git a/bundlers/docs/reference/rollup-plugin/.nojekyll b/bundlers/docs/reference/rollup-plugin/.nojekyll
deleted file mode 100644
index e2ac6616ad..0000000000
--- a/bundlers/docs/reference/rollup-plugin/.nojekyll
+++ /dev/null
@@ -1 +0,0 @@
-TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
\ No newline at end of file
diff --git a/bundlers/docs/reference/rollup-plugin/README.md b/bundlers/docs/reference/rollup-plugin/README.md
deleted file mode 100644
index d37b92c214..0000000000
--- a/bundlers/docs/reference/rollup-plugin/README.md
+++ /dev/null
@@ -1,104 +0,0 @@
-@evmts/rollup-plugin / [Exports](/reference/rollup-plugin/modules.md)
-
-# @evmts/plugin
-
-A rollup plugin for importing solidity files.
-
-Currently @evmts/plugin only works in forge projects but work to make it support [all wagmi plugins](https://wagmi.sh/cli/plugins) is underway
-
-## Instalation
-
-```bash
-pnpm i @evmts/rollup-plugin
-```
-
-## Vite usage
-
-Install rollup plugin
-
-```bash
-npm i @evmts/rollup-plugin
-```
-
-Add to your vite config
-
-```typescript
-import { evmtsPluginrollup } from '@evmts/rollup-plugin`
-import { defineConfig } from 'vite'
-
-export default defineConfig({
- plugins: [evmtsPluginRollup()]
-})
-```
-
-## Rollup usage
-
-```typescript
-const { evmtsPlugin } = require('@evmts/plugin');
-
-module.exports = {
- ...
- plugins: [evmtsPlugin()]
-};
-```
-
-## ConfigOptions
-
-To configure pass in the forge executable and the root folder that your foundery.toml is in
-
-```typescript
-plugins: [
- evmtsPlugin({
- forgeExecutable: "forge",
- projectRoot: __dirname,
- }),
-];
-```
-
-## How it works
-
-Under the hood this plugin will transform solidity imports
-
-When the plugin sees a solidity import it will make the following changes
-
-1. Update the import to import a .ts file
-
-```typescript
-- import scripts from './MyScript.sol'
-+ import scripts from './MyScript.sol.ts'
-```
-
-Insert a new typescript file MyScript.sol.ts as an artifact
-
-```typescript
-// MyScript.sol.ts
-export default {
- name,
- artifactPath,
- contractPath,
- address,
- abi,
-};
-```
-
-The typescript can then go ahead and use the artifacts however it pleases
-
-## Usage in @evmts/core
-
-See full [evms-core](https://github.com/evmts/evmts-monorepo-monorepo/tree/main/docs/evmts) for how it's used in evmts. This plugin can be used in other repos as well.
-
-## Usage in other libraries
-
-Currently only `@evmts/core` is using this but this could easily be adapted or extended for other libraries.
-
-## Autocompletion and Typesafety
-
-For typesafety and autocompletion in your editor add [@evmts/ts-plugin](../ts-plugin) to your tsconfig.json.
-
-**Custom Ts plugins are for developer experience only**
-
-The typescript compiler does not use custom ts plugins at compile time only in your editor. You will get red squiggly lines telling you something is wrong but it will still compile.
-
-## License 📄
-
-
diff --git a/bundlers/docs/reference/rollup-plugin/modules.md b/bundlers/docs/reference/rollup-plugin/modules.md
deleted file mode 100644
index 67000e2239..0000000000
--- a/bundlers/docs/reference/rollup-plugin/modules.md
+++ /dev/null
@@ -1,30 +0,0 @@
-[@evmts/rollup-plugin](/reference/rollup-plugin/README.md) / Exports
-
-# @evmts/rollup-plugin
-
-## Table of contents
-
-### Functions
-
-- [rollupPluginEvmts](/reference/rollup-plugin/modules.md#rolluppluginevmts)
-
-## Functions
-
-### rollupPluginEvmts
-
-â–¸ **rollupPluginEvmts**(`options?`): `Plugin`<`any`\>
-
-#### Parameters
-
-| Name | Type |
-| :------ | :------ |
-| `options?` | `Object` |
-| `options.compiler?` | ``"solc"`` \| ``"foundry"`` |
-
-#### Returns
-
-`Plugin`<`any`\>
-
-#### Defined in
-
-bundler/types/src/unplugin.d.ts:10
diff --git a/bundlers/docs/reference/rspack-plugin/.nojekyll b/bundlers/docs/reference/rspack-plugin/.nojekyll
deleted file mode 100644
index e2ac6616ad..0000000000
--- a/bundlers/docs/reference/rspack-plugin/.nojekyll
+++ /dev/null
@@ -1 +0,0 @@
-TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
\ No newline at end of file
diff --git a/bundlers/docs/reference/rspack-plugin/README.md b/bundlers/docs/reference/rspack-plugin/README.md
deleted file mode 100644
index 7b6be27597..0000000000
--- a/bundlers/docs/reference/rspack-plugin/README.md
+++ /dev/null
@@ -1,27 +0,0 @@
-@evmts/rspack-plugin / [Exports](/reference/rspack-plugin/modules.md)
-
-# @evmts/rspack-plugin
-
-A rspack plugin for importing solidity files.
-
-## Installation
-
-```bash
-pnpm i @evmts/rspack-plugin
-```
-
-## Usage
-
-TODO
-
-## ConfigOptions
-
-## Usage in @evmts/core
-
-## Usage in other libraries
-
-## Autocompletion and Typesafety
-
-## License 📄
-
-
diff --git a/bundlers/docs/reference/rspack-plugin/modules.md b/bundlers/docs/reference/rspack-plugin/modules.md
deleted file mode 100644
index 49c7e10247..0000000000
--- a/bundlers/docs/reference/rspack-plugin/modules.md
+++ /dev/null
@@ -1,30 +0,0 @@
-[@evmts/rspack-plugin](/reference/rspack-plugin/README.md) / Exports
-
-# @evmts/rspack-plugin
-
-## Table of contents
-
-### Functions
-
-- [rspackPluginEvmts](/reference/rspack-plugin/modules.md#rspackpluginevmts)
-
-## Functions
-
-### rspackPluginEvmts
-
-â–¸ **rspackPluginEvmts**(`options?`): `RspackPluginInstance`
-
-#### Parameters
-
-| Name | Type |
-| :------ | :------ |
-| `options?` | `Object` |
-| `options.compiler?` | ``"solc"`` \| ``"foundry"`` |
-
-#### Returns
-
-`RspackPluginInstance`
-
-#### Defined in
-
-bundler/types/src/unplugin.d.ts:19
diff --git a/bundlers/docs/reference/vite-plugin/.nojekyll b/bundlers/docs/reference/vite-plugin/.nojekyll
deleted file mode 100644
index e2ac6616ad..0000000000
--- a/bundlers/docs/reference/vite-plugin/.nojekyll
+++ /dev/null
@@ -1 +0,0 @@
-TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
\ No newline at end of file
diff --git a/bundlers/docs/reference/vite-plugin/README.md b/bundlers/docs/reference/vite-plugin/README.md
deleted file mode 100644
index 80e9153f32..0000000000
--- a/bundlers/docs/reference/vite-plugin/README.md
+++ /dev/null
@@ -1,104 +0,0 @@
-@evmts/vite-plugin / [Exports](/reference/vite-plugin/modules.md)
-
-# @evmts/plugin
-
-A rollup plugin for importing solidity files.
-
-Currently @evmts/plugin only works in forge projects but work to make it support [all wagmi plugins](https://wagmi.sh/cli/plugins) is underway
-
-## Instalation
-
-```bash
-pnpm i @evmts/rollup-plugin
-```
-
-## Vite usage
-
-Install rollup plugin
-
-```bash
-npm i @evmts/rollup-plugin
-```
-
-Add to your vite config
-
-```typescript
-import { evmtsPluginrollup } from '@evmts/rollup-plugin`
-import { defineConfig } from 'vite'
-
-export default defineConfig({
- plugins: [evmtsPluginRollup()]
-})
-```
-
-## Rollup usage
-
-```typescript
-const { evmtsPlugin } = require('@evmts/plugin');
-
-module.exports = {
- ...
- plugins: [evmtsPlugin()]
-};
-```
-
-## ConfigOptions
-
-To configure pass in the forge executable and the root folder that your foundery.toml is in
-
-```typescript
-plugins: [
- evmtsPlugin({
- forgeExecutable: "forge",
- projectRoot: __dirname,
- }),
-];
-```
-
-## How it works
-
-Under the hood this plugin will transform solidity imports
-
-When the plugin sees a solidity import it will make the following changes
-
-1. Update the import to import a .ts file
-
-```typescript
-- import scripts from './MyScript.sol'
-+ import scripts from './MyScript.sol.ts'
-```
-
-Insert a new typescript file MyScript.sol.ts as an artifact
-
-```typescript
-// MyScript.sol.ts
-export default {
- name,
- artifactPath,
- contractPath,
- address,
- abi,
-};
-```
-
-The typescript can then go ahead and use the artifacts however it pleases
-
-## Usage in @evmts/core
-
-See full [evms-core](https://github.com/evmts/evmts-monorepo-monorepo/tree/main/docs/evmts) for how it's used in evmts. This plugin can be used in other repos as well.
-
-## Usage in other libraries
-
-Currently only `@evmts/core` is using this but this could easily be adapted or extended for other libraries.
-
-## Autocompletion and Typesafety
-
-For typesafety and autocompletion in your editor add [@evmts/ts-plugin](../ts-plugin) to your tsconfig.json.
-
-**Custom Ts plugins are for developer experience only**
-
-The typescript compiler does not use custom ts plugins at compile time only in your editor. You will get red squiggly lines telling you something is wrong but it will still compile.
-
-## License 📄
-
-
diff --git a/bundlers/docs/reference/vite-plugin/modules.md b/bundlers/docs/reference/vite-plugin/modules.md
deleted file mode 100644
index d05f043dfb..0000000000
--- a/bundlers/docs/reference/vite-plugin/modules.md
+++ /dev/null
@@ -1,30 +0,0 @@
-[@evmts/vite-plugin](/reference/vite-plugin/README.md) / Exports
-
-# @evmts/vite-plugin
-
-## Table of contents
-
-### Functions
-
-- [vitePluginEvmts](/reference/vite-plugin/modules.md#vitepluginevmts)
-
-## Functions
-
-### vitePluginEvmts
-
-â–¸ **vitePluginEvmts**(`options?`): `Plugin`<`any`\>
-
-#### Parameters
-
-| Name | Type |
-| :------ | :------ |
-| `options?` | `Object` |
-| `options.compiler?` | ``"solc"`` \| ``"foundry"`` |
-
-#### Returns
-
-`Plugin`<`any`\>
-
-#### Defined in
-
-bundler/types/src/unplugin.d.ts:7
diff --git a/bundlers/docs/reference/webpack-plugin/.nojekyll b/bundlers/docs/reference/webpack-plugin/.nojekyll
deleted file mode 100644
index e2ac6616ad..0000000000
--- a/bundlers/docs/reference/webpack-plugin/.nojekyll
+++ /dev/null
@@ -1 +0,0 @@
-TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false.
\ No newline at end of file
diff --git a/bundlers/docs/reference/webpack-plugin/README.md b/bundlers/docs/reference/webpack-plugin/README.md
deleted file mode 100644
index 159d070a16..0000000000
--- a/bundlers/docs/reference/webpack-plugin/README.md
+++ /dev/null
@@ -1,47 +0,0 @@
-@evmts/webpack-plugin / [Exports](/reference/webpack-plugin/modules.md)
-
-# @evmts/plugin
-
-A webpack plugin for importing solidity files.
-
-## Installation
-
-```bash
-pnpm i @evmts/webpack-plugin
-```
-
-## Usage
-
-Install webpack plugin
-
-```bash
-npm i @evmts/webpack-plugin
-```
-
-Add to your webpack config
-
-```typescript
-import {ForgePlugin} from '@evmts/webpack-plugin'
-
-export default {
- // ... other configuration settings
- plugins: [
- // ... other plugins
- new ForgePlugin({
- project: './contracts'
- }),
- ],
-};
-```
-
-## ConfigOptions
-
-## Usage in @evmts/core
-
-## Usage in other libraries
-
-## Autocompletion and Typesafety
-
-## License 📄
-
-
diff --git a/bundlers/docs/reference/webpack-plugin/modules.md b/bundlers/docs/reference/webpack-plugin/modules.md
deleted file mode 100644
index 5520cd4430..0000000000
--- a/bundlers/docs/reference/webpack-plugin/modules.md
+++ /dev/null
@@ -1,30 +0,0 @@
-[@evmts/webpack-plugin](/reference/webpack-plugin/README.md) / Exports
-
-# @evmts/webpack-plugin
-
-## Table of contents
-
-### Functions
-
-- [webpackPluginEvmts](/reference/webpack-plugin/modules.md#webpackpluginevmts)
-
-## Functions
-
-### webpackPluginEvmts
-
-â–¸ **webpackPluginEvmts**(`options?`): `RspackPluginInstance`
-
-#### Parameters
-
-| Name | Type |
-| :------ | :------ |
-| `options?` | `Object` |
-| `options.compiler?` | ``"solc"`` \| ``"foundry"`` |
-
-#### Returns
-
-`RspackPluginInstance`
-
-#### Defined in
-
-bundler/types/src/unplugin.d.ts:16
diff --git a/bundlers/esbuild/package.json b/bundlers/esbuild/package.json
index 1e7d1b1611..b7f74db57d 100644
--- a/bundlers/esbuild/package.json
+++ b/bundlers/esbuild/package.json
@@ -13,7 +13,7 @@
"license": "MIT",
"type": "module",
"main": "dist/index.cjs",
- "module": "dist/index.js",
+ "module": "src/index.js",
"types": "src/index.d.ts",
"files": ["dist", "types", "src"],
"scripts": {
diff --git a/bundlers/esbuild/src/index.ts b/bundlers/esbuild/src/index.js
similarity index 100%
rename from bundlers/esbuild/src/index.ts
rename to bundlers/esbuild/src/index.js
diff --git a/bundlers/esbuild/tsup.config.ts b/bundlers/esbuild/tsup.config.ts
index 009898d006..197bac356c 100644
--- a/bundlers/esbuild/tsup.config.ts
+++ b/bundlers/esbuild/tsup.config.ts
@@ -1,10 +1,11 @@
+import packageJson from './package.json'
import { defineConfig } from 'tsup'
export default defineConfig({
- name: '@evmts/rollup-plugin',
- entry: ['src/index.ts'],
+ name: packageJson.name,
+ entry: ['src/index.js'],
outDir: 'dist',
- format: ['esm', 'cjs'],
+ format: ['cjs'],
splitting: false,
sourcemap: true,
clean: true,
diff --git a/bundlers/esbuild/typedoc.json b/bundlers/esbuild/typedoc.json
index b9c6ae616c..6bdf1a0a98 100644
--- a/bundlers/esbuild/typedoc.json
+++ b/bundlers/esbuild/typedoc.json
@@ -1,7 +1,7 @@
{
"$schema": "https://typedoc.org/schema.json",
"out": "../../docs/reference/esbuild-plugin",
- "entryPoints": ["./src/index.ts"],
+ "entryPoints": ["./src/index.js"],
"publicPath": "/reference/esbuild-plugin/",
"plugin": ["typedoc-plugin-markdown"],
"gitRevision": "main"
diff --git a/bundlers/rollup/package.json b/bundlers/rollup/package.json
index 6e5465d968..1d988a8639 100644
--- a/bundlers/rollup/package.json
+++ b/bundlers/rollup/package.json
@@ -13,7 +13,7 @@
"license": "MIT",
"type": "module",
"main": "dist/index.cjs",
- "module": "dist/index.js",
+ "module": "src/index.js",
"types": "types/index.d.ts",
"files": ["dist", "types", "src"],
"scripts": {
diff --git a/bundlers/rollup/src/index.ts b/bundlers/rollup/src/index.js
similarity index 100%
rename from bundlers/rollup/src/index.ts
rename to bundlers/rollup/src/index.js
diff --git a/bundlers/rollup/tsup.config.ts b/bundlers/rollup/tsup.config.ts
index 009898d006..197bac356c 100644
--- a/bundlers/rollup/tsup.config.ts
+++ b/bundlers/rollup/tsup.config.ts
@@ -1,10 +1,11 @@
+import packageJson from './package.json'
import { defineConfig } from 'tsup'
export default defineConfig({
- name: '@evmts/rollup-plugin',
- entry: ['src/index.ts'],
+ name: packageJson.name,
+ entry: ['src/index.js'],
outDir: 'dist',
- format: ['esm', 'cjs'],
+ format: ['cjs'],
splitting: false,
sourcemap: true,
clean: true,
diff --git a/bundlers/rollup/typedoc.json b/bundlers/rollup/typedoc.json
index 13cf53adc7..8ba46a96c0 100644
--- a/bundlers/rollup/typedoc.json
+++ b/bundlers/rollup/typedoc.json
@@ -1,7 +1,7 @@
{
"$schema": "https://typedoc.org/schema.json",
"out": "../../docs/reference/rollup-plugin",
- "entryPoints": ["./src/index.ts"],
+ "entryPoints": ["./src/index.js"],
"publicPath": "/reference/rollup-plugin/",
"plugin": ["typedoc-plugin-markdown"],
"gitRevision": "main"
diff --git a/bundlers/rspack/package.json b/bundlers/rspack/package.json
index ce49dee3c3..ecfb36525f 100644
--- a/bundlers/rspack/package.json
+++ b/bundlers/rspack/package.json
@@ -13,7 +13,7 @@
"license": "MIT",
"type": "module",
"main": "dist/index.cjs",
- "module": "dist/index.js",
+ "module": "src/index.js",
"types": "types/index.d.ts",
"files": ["dist", "types", "src"],
"scripts": {
diff --git a/bundlers/rspack/src/index.ts b/bundlers/rspack/src/index.js
similarity index 100%
rename from bundlers/rspack/src/index.ts
rename to bundlers/rspack/src/index.js
diff --git a/bundlers/rspack/tsup.config.ts b/bundlers/rspack/tsup.config.ts
index ab010e3e9d..e322aa97ec 100644
--- a/bundlers/rspack/tsup.config.ts
+++ b/bundlers/rspack/tsup.config.ts
@@ -2,9 +2,9 @@ import { defineConfig } from 'tsup'
export default defineConfig({
name: '@evmts/rspack-plugin',
- entry: ['src/index.ts'],
+ entry: ['src/index.js'],
outDir: 'dist',
- format: ['esm', 'cjs'],
+ format: ['cjs'],
splitting: false,
sourcemap: true,
clean: true,
diff --git a/bundlers/rspack/typedoc.json b/bundlers/rspack/typedoc.json
index 97711fa75d..c9caf03f7e 100644
--- a/bundlers/rspack/typedoc.json
+++ b/bundlers/rspack/typedoc.json
@@ -1,7 +1,7 @@
{
"$schema": "https://typedoc.org/schema.json",
"out": "../../docs/reference/rspack-plugin",
- "entryPoints": ["./src/index.ts"],
+ "entryPoints": ["./src/index.js"],
"publicPath": "/reference/rspack-plugin/",
"plugin": ["typedoc-plugin-markdown"],
"gitRevision": "main"
diff --git a/bundlers/vite/package.json b/bundlers/vite/package.json
index 6fafb23fc8..55fa6875c8 100644
--- a/bundlers/vite/package.json
+++ b/bundlers/vite/package.json
@@ -13,7 +13,7 @@
"license": "MIT",
"type": "module",
"main": "dist/index.cjs",
- "module": "dist/index.js",
+ "module": "src/index.js",
"types": "types/index.d.ts",
"files": ["dist", "types", "src"],
"scripts": {
diff --git a/bundlers/vite/src/index.ts b/bundlers/vite/src/index.js
similarity index 100%
rename from bundlers/vite/src/index.ts
rename to bundlers/vite/src/index.js
diff --git a/bundlers/vite/tsup.config.ts b/bundlers/vite/tsup.config.ts
index 009898d006..197bac356c 100644
--- a/bundlers/vite/tsup.config.ts
+++ b/bundlers/vite/tsup.config.ts
@@ -1,10 +1,11 @@
+import packageJson from './package.json'
import { defineConfig } from 'tsup'
export default defineConfig({
- name: '@evmts/rollup-plugin',
- entry: ['src/index.ts'],
+ name: packageJson.name,
+ entry: ['src/index.js'],
outDir: 'dist',
- format: ['esm', 'cjs'],
+ format: ['cjs'],
splitting: false,
sourcemap: true,
clean: true,
diff --git a/bundlers/vite/typedoc.json b/bundlers/vite/typedoc.json
index 36538349fa..738b8e9c1b 100644
--- a/bundlers/vite/typedoc.json
+++ b/bundlers/vite/typedoc.json
@@ -1,7 +1,7 @@
{
"$schema": "https://typedoc.org/schema.json",
"out": "../../docs/reference/vite-plugin",
- "entryPoints": ["./src/index.ts"],
+ "entryPoints": ["./src/index.js"],
"publicPath": "/reference/vite-plugin/",
"plugin": ["typedoc-plugin-markdown"],
"gitRevision": "main"
diff --git a/bundlers/webpack/package.json b/bundlers/webpack/package.json
index 8b2b7513c0..1f9e4a3523 100644
--- a/bundlers/webpack/package.json
+++ b/bundlers/webpack/package.json
@@ -13,7 +13,7 @@
"license": "MIT",
"type": "module",
"main": "dist/index.cjs",
- "module": "dist/index.js",
+ "module": "src/index.js",
"types": "types/index.d.ts",
"files": ["dist", "src", "types"],
"scripts": {
diff --git a/bundlers/webpack/src/index.ts b/bundlers/webpack/src/index.js
similarity index 100%
rename from bundlers/webpack/src/index.ts
rename to bundlers/webpack/src/index.js
diff --git a/bundlers/webpack/tsup.config.ts b/bundlers/webpack/tsup.config.ts
index 009898d006..d56ba87d39 100644
--- a/bundlers/webpack/tsup.config.ts
+++ b/bundlers/webpack/tsup.config.ts
@@ -2,9 +2,9 @@ import { defineConfig } from 'tsup'
export default defineConfig({
name: '@evmts/rollup-plugin',
- entry: ['src/index.ts'],
+ entry: ['src/index.js'],
outDir: 'dist',
- format: ['esm', 'cjs'],
+ format: ['cjs'],
splitting: false,
sourcemap: true,
clean: true,
diff --git a/bundlers/webpack/typedoc.json b/bundlers/webpack/typedoc.json
index a0a8248f62..a6b954f7cb 100644
--- a/bundlers/webpack/typedoc.json
+++ b/bundlers/webpack/typedoc.json
@@ -1,7 +1,7 @@
{
"$schema": "https://typedoc.org/schema.json",
"out": "../../docs/reference/webpack-plugin",
- "entryPoints": ["./src/index.ts"],
+ "entryPoints": ["./src/index.js"],
"publicPath": "/reference/webpack-plugin/",
"plugin": ["typedoc-plugin-markdown"],
"gitRevision": "main"