mirror of
https://github.com/wassname/talk.git
synced 2026-07-02 07:56:39 +08:00
e9c80fc02a
* feat: added graphqlBatch * refactor: cleanup of json serial * refactor: cleanup of json serilization * feat: use react network layer * fix: adjusted broken user * fix: temporarily disable cache for profile query * test: temporarily use precompiled modules * fix: bug when updating comment count on an asset * fix: compile modules to commonjs for jest * test: add react-relay-network-layer to transform whitelist * fix: use react-relay-network-layer/es * types: add react-relay-network-modern typescript types * feat: integrate custom error middleware * review: add todo
21 lines
453 B
JavaScript
21 lines
453 B
JavaScript
/**
|
|
* This is a project wide babel configuration.
|
|
* https://babeljs.io/docs/en/config-files#project-wide-configuration
|
|
*
|
|
* We use this file to apply babel configuration to packages in `node_modules`
|
|
* for testing with jest.
|
|
*/
|
|
module.exports = {
|
|
env: {
|
|
test: {
|
|
presets: [
|
|
[
|
|
"@babel/env",
|
|
{ targets: "last 2 versions, ie 11", modules: "commonjs" },
|
|
],
|
|
"@babel/react",
|
|
],
|
|
},
|
|
},
|
|
};
|