1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
/** @type {import("snowpack").SnowpackUserConfig } */
module.exports = {
mount: {
public: '/',
src: '/_dist_',
},
plugins: [
'@snowpack/plugin-react-refresh',
'@snowpack/plugin-dotenv',
'@snowpack/plugin-typescript',
],
install: [
/* ... */
],
installOptions: {
/* ... */
},
devOptions: {
port: 3000,
},
buildOptions: {
/* ... */
},
proxy: {
'/mancala': 'http://localhost:8080/mancala', // <-- change 8080 to a different port if necessary
},
alias: {
/* ... */
},
};
|