-
Notifications
You must be signed in to change notification settings - Fork 667
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
Conversation
@@ -20,13 +20,6 @@ export * from './BidService' | |||
export * from './ContractService' |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wild console.log
appeared!
There was a problem hiding this comment.
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.
webapp/src/index.tsx
Outdated
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' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// import './setup' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
This PR changes the way we're building the Marketplace to use Vite.