Skip to content
This repository has been archived by the owner on Sep 25, 2022. It is now read-only.

Commit

Permalink
tsx2jsx: transform
Browse files Browse the repository at this point in the history
  • Loading branch information
milahu committed Sep 24, 2022
1 parent 689acd0 commit 6174c9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
@@ -1,9 +1,9 @@
import { NodeGlobalsPolyfillPlugin } from '@esbuild-plugins/node-globals-polyfill'
import { NodeModulesPolyfillPlugin } from '@esbuild-plugins/node-modules-polyfill'
import rollupNodePolyFill from 'rollup-plugin-node-polyfills'
import type { Plugin } from 'vite'

export const nodePolyfills = (_options = {}): Plugin => {

export const nodePolyfills = (_options = {}) => {
return {
name: 'vite-plugin-node-polyfills',
// @ts-expect-error The rollupNodePolyFill() function does not match the Vite expected type signature.
Expand Down

0 comments on commit 6174c9b

Please sign in to comment.