mirror of
https://github.com/wassname/talk.git
synced 2026-06-27 18:45:03 +08:00
6d7056d831
* Move talk-server/config to talk-common/config * Refactor build into /src/core/build and use common config * Add embed webpack config * Start implementing embed * Implement embed * Add pym types * Add event emitter to Talk Context * Add MatchMedia test for passing values from the context * Add support for click far away * Integrate pym click events to registerClickFarAway * Add tests * Resolve merge issues * Apply PR review
16 lines
499 B
TypeScript
16 lines
499 B
TypeScript
import fs from "fs";
|
|
import path from "path";
|
|
import appPaths from "../src/core/build/paths";
|
|
|
|
// Make sure any symlinks in the project folder are resolved:
|
|
// https://github.com/facebookincubator/create-react-app/issues/637
|
|
const appDirectory = fs.realpathSync(process.cwd());
|
|
const resolveApp = (relativePath: string) =>
|
|
path.resolve(appDirectory, relativePath);
|
|
|
|
// config after eject: we're in ./config/
|
|
export default {
|
|
...appPaths,
|
|
appJestConfig: resolveApp("config/jest.config.js"),
|
|
};
|