Skip to content
Discussion options

You must be logged in to vote

In your Vite configuration, you can specify external modules explicitly. This can be done by modifying your vite.config.ts or vite.config.js file to include isbot as an external module:

// vite.config.ts
import { defineConfig } from 'vite';

export default defineConfig({
  build: {
    rollupOptions: {
      external: ['isbot'],
    },
  },
});

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@refactornator
Comment options

Answer selected by refactornator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants