Skip to content

Commit

Permalink
🐛 Fix(ts-plugin): Fix common.js imports (#667)
Browse files Browse the repository at this point in the history
## Description

Something about how ts-server works requires us to need to target
common.js

## Testing

Explain the quality checks that have been done on the code changes

## Additional Information

- [ ] I read the [contributing docs](../docs/contributing.md) (if this
is your first contribution)

Your ENS/address:

Co-authored-by: Will Cory <[email protected]>
  • Loading branch information
roninjin10 and Will Cory authored Nov 16, 2023
1 parent d6e92ee commit fd4a4e8
Show file tree
Hide file tree
Showing 27 changed files with 51 additions and 910 deletions.
6 changes: 3 additions & 3 deletions bundler/docs/modules/evmts_ts_plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

### Functions

- [default](evmts_ts_plugin.md#default)
- [export=](evmts_ts_plugin.md#export=)

## Functions

### default
### export&#x3D;

**default**(`mod`): `PluginModule`
**export=**(`mod`): `PluginModule`

[Typescript plugin factory](https://github.com/microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin)

Expand Down
6 changes: 3 additions & 3 deletions bundler/ts-plugin/docs/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

### Functions

- [default](modules.md#default)
- [export=](modules.md#export=)

## Functions

### default
### export&#x3D;

**default**(`mod`): `PluginModule`
**export=**(`mod`): `PluginModule`

[Typescript plugin factory](https://github.com/microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin)

Expand Down
2 changes: 1 addition & 1 deletion bundler/ts-plugin/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { tsPlugin } from './tsPlugin.js'

export default tsPlugin
export = tsPlugin
4 changes: 2 additions & 2 deletions bundler/ts-plugin/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"lib": ["esnext", "dom"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
"module": "commonjs",
"moduleResolution": "node",
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
"outDir": "types",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion examples/vite/dist/assets/ccip-7b568d35.js

This file was deleted.

1 change: 0 additions & 1 deletion examples/vite/dist/assets/events-10b38c2f.js

This file was deleted.

Loading

0 comments on commit fd4a4e8

Please sign in to comment.