mirror of
https://github.com/p-stream/p-stream.git
synced 2026-01-11 20:10:32 +00:00
Revert "Merge pull request #71 from afyef/feat/skip-source-button"
This reverts commitd1356405d2, reversing changes made to85421a881d.
This commit is contained in:
parent
bf359916b6
commit
e49eb634fe
2 changed files with 0 additions and 20 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -28,4 +28,3 @@ package-lock.json
|
|||
|
||||
# config
|
||||
.env
|
||||
local-libs/
|
||||
|
|
|
|||
|
|
@ -25,17 +25,6 @@ export default defineConfig(({ mode }) => {
|
|||
const env = loadEnv(mode, process.cwd());
|
||||
return {
|
||||
base: env.VITE_BASE_URL || "/",
|
||||
assetsInclude: ['**/*.wasm'],
|
||||
server: {
|
||||
fs: {
|
||||
allow: [
|
||||
// Default: allow serving files from project root
|
||||
path.resolve(__dirname),
|
||||
// Allow serving from the linked providers directory
|
||||
path.resolve(__dirname, '../providers/@p-stream/providers'),
|
||||
],
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
million.vite({ auto: true, mute: true }),
|
||||
handlebars({
|
||||
|
|
@ -134,14 +123,6 @@ export default defineConfig(({ mode }) => {
|
|||
|
||||
build: {
|
||||
sourcemap: mode !== "production",
|
||||
assetsInlineLimit: (filePath: string) => {
|
||||
// Never inline WASM files
|
||||
if (filePath.endsWith('.wasm')) {
|
||||
return false;
|
||||
}
|
||||
// Use default 4KB limit for other assets
|
||||
return undefined;
|
||||
},
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks(id: string) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue