Speech as a package #416
8
index.js
|
@ -15,10 +15,10 @@ const siteConfig = require('./config/siteConfig.js');
|
|||
![]() hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for spee.ch-components hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for [spee.ch-components](https://github.com/lbryio/spee.ch-components)
![]() Oh I gotcha. I was confused. I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own. Oh I gotcha. I was confused.
I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own.
![]() i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again. i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again.
![]() Don't commit this Don't commit this
![]() hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for spee.ch-components hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for [spee.ch-components](https://github.com/lbryio/spee.ch-components)
![]() Oh I gotcha. I was confused. I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own. Oh I gotcha. I was confused.
I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own.
![]() i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again. i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again.
|
||||
const slackConfig = require('./config/slackConfig.js');
|
||||
|
||||
function Server () {
|
||||
this.configureLogger = loggerConfig.update(userConfig);
|
||||
![]() Don't commit this Don't commit this
![]() hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for spee.ch-components hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for [spee.ch-components](https://github.com/lbryio/spee.ch-components)
![]() Oh I gotcha. I was confused. I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own. Oh I gotcha. I was confused.
I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own.
![]() i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again. i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again.
|
||||
this.configureMysql = mysqlConfig.update(userConfig);
|
||||
![]() Don't commit this Don't commit this
![]() hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for spee.ch-components hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for [spee.ch-components](https://github.com/lbryio/spee.ch-components)
![]() Oh I gotcha. I was confused. I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own. Oh I gotcha. I was confused.
I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own.
![]() i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again. i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again.
|
||||
this.configureSite = siteConfig.update(userConfig);
|
||||
![]() Don't commit this Don't commit this
![]() hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for spee.ch-components hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for [spee.ch-components](https://github.com/lbryio/spee.ch-components)
![]() Oh I gotcha. I was confused. I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own. Oh I gotcha. I was confused.
I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own.
![]() i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again. i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again.
|
||||
this.configureSlack = slackConfig.update(userConfig);
|
||||
![]() Don't commit this Don't commit this
![]() hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for spee.ch-components hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for [spee.ch-components](https://github.com/lbryio/spee.ch-components)
![]() Oh I gotcha. I was confused. I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own. Oh I gotcha. I was confused.
I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own.
![]() i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again. i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again.
|
||||
this.configureLogger = loggerConfig.update;
|
||||
![]() Don't commit this Don't commit this
![]() hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for spee.ch-components hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for [spee.ch-components](https://github.com/lbryio/spee.ch-components)
![]() Oh I gotcha. I was confused. I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own. Oh I gotcha. I was confused.
I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own.
![]() i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again. i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again.
|
||||
this.configureMysql = mysqlConfig.update;
|
||||
![]() Don't commit this Don't commit this
![]() hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for spee.ch-components hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for [spee.ch-components](https://github.com/lbryio/spee.ch-components)
![]() Oh I gotcha. I was confused. I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own. Oh I gotcha. I was confused.
I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own.
![]() i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again. i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again.
|
||||
this.configureSite = siteConfig.update;
|
||||
![]() Don't commit this Don't commit this
![]() hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for spee.ch-components hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for [spee.ch-components](https://github.com/lbryio/spee.ch-components)
![]() Oh I gotcha. I was confused. I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own. Oh I gotcha. I was confused.
I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own.
![]() i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again. i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again.
|
||||
this.configureSlack = slackConfig.update;
|
||||
![]() Don't commit this Don't commit this
![]() hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for spee.ch-components hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for [spee.ch-components](https://github.com/lbryio/spee.ch-components)
![]() Oh I gotcha. I was confused. I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own. Oh I gotcha. I was confused.
I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own.
![]() i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again. i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again.
|
||||
this.configureModels = () => {
|
||||
logger.debug('here is where you could add/overwrite the default models')
|
||||
};
|
||||
|
|
|||
![]() Don't commit this Don't commit this
![]() hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for spee.ch-components hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for [spee.ch-components](https://github.com/lbryio/spee.ch-components)
![]() Oh I gotcha. I was confused. I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own. Oh I gotcha. I was confused.
I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own.
![]() i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again. i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again.
![]() Don't commit this Don't commit this
![]() hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for spee.ch-components hmm, the problem is that the server uses jsx for server side rendering, so it needs to be transpiled (I think that's the only part that needs to be transpiled), so I wanted to build a bundle and export that bundle. Do you think I should just transpile with babel and not actual bundle with webpack? That's what I did for [spee.ch-components](https://github.com/lbryio/spee.ch-components)
![]() Oh I gotcha. I was confused. I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own. Oh I gotcha. I was confused.
I still don't think this needs to be committed. You can build before publishing. IMO if someone is cloning the repo, they will be building the app on their own.
![]() i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again. i updated it to only transpile the two jsx render functions that are needed for SSR, the rest does not need to be built at this level, as the implementation will build the app again.
|
Don't commit this