-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update to vite with successful build
- Loading branch information
1 parent
2b29fd4
commit 970be1c
Showing
8 changed files
with
5,889 additions
and
17,106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
REACT_APP_BACKEND_API_URL=https://google-analytics-4.ctfapps.net | ||
REACT_APP_BACKEND_API_URL_TEST=https://google-analytics-4-test.ctfapps.net | ||
REACT_APP_VERSION=$npm_package_version | ||
REACT_APP_SENTRY_DSN=https://b8f524eae7c446fb8071476431426640@o2239.ingest.sentry.io/4504725335834624 | ||
REACT_APP_SEGMENT_WRITE_KEY=jGZHaYldsH12362MNsO2mT0BEvV2Hi6W | ||
VITE_BACKEND_API_URL=https://google-analytics-4.ctfapps.net | ||
VITE_BACKEND_API_URL_TEST=https://google-analytics-4-test.ctfapps.net | ||
VITE_VERSION=$npm_package_version | ||
VITE_SENTRY_DSN=https://b8f524eae7c446fb8071476431426640@o2239.ingest.sentry.io/4504725335834624 | ||
VITE_SEGMENT_WRITE_KEY=jGZHaYldsH12362MNsO2mT0BEvV2Hi6W |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
REACT_APP_BACKEND_API_URL=http://localhost:8080/dev | ||
REACT_APP_VERSION=$npm_package_version | ||
REACT_APP_SENTRY_DSN=https://b8f524eae7c446fb8071476431426640@o2239.ingest.sentry.io/4504725335834624 | ||
REACT_APP_SEGMENT_WRITE_KEY=BGIumuDUo6a53DN2ojoHqRjIQyQ7L4U0 | ||
VITE_BACKEND_API_URL=http://localhost:8080/dev | ||
VITE_VERSION=$npm_package_version | ||
VITE_SENTRY_DSN=https://b8f524eae7c446fb8071476431426640@o2239.ingest.sentry.io/4504725335834624 | ||
VITE_SEGMENT_WRITE_KEY=BGIumuDUo6a53DN2ojoHqRjIQyQ7L4U0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22,898 changes: 5,817 additions & 17,081 deletions
22,898
apps/google-analytics-4/frontend/package-lock.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import { defineConfig } from 'vite'; | ||
import react from '@vitejs/plugin-react'; | ||
|
||
export default defineConfig(() => ({ | ||
server: { | ||
port: 3000, | ||
}, | ||
base: '', | ||
build: { | ||
outDir: 'build', | ||
}, | ||
plugins: [react()], | ||
resolve: { | ||
alias: { | ||
apis: '/src/apis', | ||
clients: '/src/clients', | ||
components: '/src/components', | ||
helpers: '/src/helpers', | ||
hooks: '/src/hooks', | ||
locations: '/src/locations', | ||
providers: '/src/providers', | ||
utils: '/src/utils', | ||
config: '/src/config', | ||
}, | ||
}, | ||
|
||
test: { | ||
globals: true, | ||
}, | ||
})); |