Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Use vite to build site #2105

Merged
merged 13 commits into from
Jan 19, 2024
Merged

Conversation

LautaroPetaccio
Copy link
Contributor

This PR changes the way we're building the Marketplace to use Vite.

@@ -20,13 +20,6 @@ export * from './BidService'
export * from './ContractService'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm removing the services export as we're not longer using the vendors idea and we have a cyclic dependency later when instantiating them.

@@ -208,7 +208,9 @@ export const getIsMarketplaceServerEnabled = (state: RootState) => {
}

export const getIsBuyCrossChainEnabled = (state: RootState) => {
if (hasLoadedInitialFlags(state)) {
const hasLoadedInitialFlagsx = hasLoadedInitialFlags(state)
console.log('Has loaded initial feature flags?', hasLoadedInitialFlagsx)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wild console.log appeared!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looool, good catch, removed it.

@coveralls
Copy link

coveralls commented Jan 19, 2024

Coverage Status

coverage: 67.136% (+22.7%) from 44.432%
when pulling 3edb089 on feat/use-vite-to-build-site
into 2ac6b51 on master.

import { ConnectedRouter } from 'connected-react-router'
import * as SingleSignOn from '@dcl/single-sign-on-client'
import WalletProvider from 'decentraland-dapps/dist/providers/WalletProvider'
import ToastProvider from 'decentraland-dapps/dist/providers/ToastProvider'
import TranslationProvider from 'decentraland-dapps/dist/providers/TranslationProvider'
import ModalProvider from 'decentraland-dapps/dist/providers/ModalProvider'

import './setup'
// import './setup'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// import './setup'

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

@LautaroPetaccio LautaroPetaccio merged commit 42e2756 into master Jan 19, 2024
5 of 6 checks passed
@LautaroPetaccio LautaroPetaccio deleted the feat/use-vite-to-build-site branch January 19, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants