Qortal extension for Google Chrome, and other Chromium-based Browsers. Allows wallet and games, and more in the future!
https://qortal.dev
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
706 B
24 lines
706 B
5 months ago
|
import { defineConfig } from 'vite';
|
||
|
import react from '@vitejs/plugin-react';
|
||
|
// Import path module for resolving file paths
|
||
|
import { resolve } from 'path';
|
||
|
|
||
|
export default defineConfig({
|
||
|
plugins: [react()],
|
||
|
build: {
|
||
|
rollupOptions: {
|
||
|
// Specify multiple entry points for Rollup
|
||
|
input: {
|
||
|
index: resolve(__dirname, 'index.html'), // Main entry for your React app
|
||
|
background: resolve(__dirname, 'src/background.ts'), // Separate entry for the background script
|
||
|
},
|
||
|
output: {
|
||
|
// Adjust the output settings if necessary
|
||
|
entryFileNames: `[name].js`,
|
||
|
chunkFileNames: `[name].js`,
|
||
|
assetFileNames: `[name].[ext]`
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
});
|