Skip to content

Commit 6a0ecb9

Browse files
Merge pull request #191 from yulinscottkang/process
Fix Flowmap.gl undefined process error
2 parents f905bf4 + 2f91e4d commit 6a0ecb9

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

Samples/3D-layer/Flowmap.gl/dist/Flowmapgl.bundle.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
import { defineConfig } from 'vite'
1+
import { defineConfig } from "vite";
22

33
export default defineConfig({
44
build: {
55
lib: {
6-
entry: 'src/Flowmap.gl.js',
7-
name: 'FlowmapGL',
8-
fileName: () => 'Flowmapgl.bundle.js'
6+
entry: "src/Flowmap.gl.js",
7+
name: "FlowmapGL",
8+
fileName: () => "Flowmapgl.bundle.js",
99
},
1010
},
11-
})
11+
define: { "process.env": {} },
12+
});

0 commit comments

Comments
 (0)