Closed domosedov closed 6 months ago
Babel plugin has same problem
Some context
For babel plugin its solve problem
{
"domainMethods": {
"store": [],
"event": [],
"effect": [],
"domain": []
}
}
This now should be covered by transformLegacyDomainMethods
option, which you can disable. Can you see if v0.3.0
fixes this for you when using this option?
This now should be covered by
transformLegacyDomainMethods
option, which you can disable. Can you see ifv0.3.0
fixes this for you when using this option?
nice, fixed
"next": "14.1.0",
"effector-swc-plugin": "0.3.0-swc1.3.63",
"recharts": "^2.12.1"
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
swcPlugins: [
[
"effector-swc-plugin",
{
transformLegacyDomainMethods: false,
},
],
],
},
};
export default nextConfig;
thank you
https://github.com/d3/d3-scale/blob/d6904a4bde09e16005e0ad8ca3e25b10ce54fa0d/src/ordinal.js#L21
description
Transform array
['value1', 'value2']
to object like{ sid: 'some sid', name: 'domain' }
Reproduce
https://github.com/domosedov/swc-domain-bug
Reproduce
https://github.com/domosedov/swc-domain-bug