Eyal Lapid
Eyal Lapid
Sharing my experience with this, solved it for our project by using [webpack externals](https://webpack.js.org/configuration/externals/) for the component library to exclude `react` and `react-dom` from the build. We are just starting...
We are using react inside angularjs for now without a problem. Including functional components. Not sure what we did back then when we received the error but it works now....
This only works for intersection. Meaning from_date =< to_date. dates from 2017 up to 2018. I am not sure if json-server support cases where you want to exclude a date...
Still happens at 2022
@dagda1 Thank you. This helped us. Maybe also consider including in the issue name "automodules not working?" so it help others find this solution.
@dagda1 I came to this issue because I fell on case that every css was considered css module, not only module.css. Regarding the API, maybe those varitaions could make it...
Looking deeper, it seems this is the behavior of `deepmerge` old version 1.5.2 Which karma neutrino uses. Newer versions do array concat. https://github.com/TehShrike/deepmerge/pull/77
In neutrino 9 mocha, I was able to override the test dir and `_test.js` regex by giving the mocha middleware the `spec` option. ``` neutrino.use(mocha({ spec: 'src/**/*.spec.js', })); ```
From what it looks like, the react preset uses `babelMerge` https://github.com/neutrinojs/neutrino/blob/cdb08011793d4a6eb4509655a1fab2906a7c4356/packages/react/index.js#L21 `babelMerge` specifically looks for duplicates in the plugins array https://github.com/neutrinojs/babel-merge/blob/d24260a025d6416a4cd52e72a8a024f4f403de2f/src/index.js#L13 ```js return [...source, ...overrides].reduce((reduction, override) => { const overrideName...
@davidje13 Thanks for the hard work. Allowed me to get some insight before tackling it in our project. Regarding the type declaration emittion, I do this by activating the typescript...