DEVELOPMENT: Webpack config is invalid, please check the console for more information.
WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.module.rules[0].oneOf[1] should be an object.
I only changed few things in the webpack/configFactory (like disabled CSS modules).
Should I add additional ifElse with new target like this to make this work? Do we have any examples on how to do this?
So - first of all - I love the project. Using it in second app and it works really great.
I had my API server running along with the React one, but now as it's growing - I wanted to separate those. What I did is:
api
folder in the project's root withindex.js
file and an express listenerindex.js
contains just basic code to see if the server is runningadditionalNodeBundles
insideconfig/values
so it looks like this:Now while running the development mode I get:
I only changed few things in the
webpack/configFactory
(like disabled CSS modules).Should I add additional
ifElse
with newtarget
like this to make this work? Do we have any examples on how to do this?