We just need to correctly implement Jquery and we will be able to show notifications in the game Also updated npm modules
13 lines
226 B
JavaScript
13 lines
226 B
JavaScript
import { defineConfig } from 'vite';
|
|
import inject from "@rollup/plugin-inject";
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
inject({
|
|
jQuery: 'jquery',
|
|
}),
|
|
],
|
|
optimizeDeps: {
|
|
include: ['jquery'],
|
|
},
|
|
}); |