It would be nice to have the ability to add custom rules without effecting the base build and modifying the webpackConfigurator.js to meet specific needs of a project.
Proposition
- Add a custom config file to OC root that outlines custom rules
- in
package.json configure the location of config file (not in package.json because it should be able to take vars)
- in
oc-template-react-compiler make check for config file, if there use it, if not ignore
- require users to include webpackLoaders as part of their
devDependencies so that they can configure things themselves.
It would be nice to have the ability to add custom rules without effecting the base build and modifying the
webpackConfigurator.jsto meet specific needs of a project.Proposition
package.jsonconfigure the location of config file (not in package.json because it should be able to take vars)oc-template-react-compilermake check for config file, if there use it, if not ignoredevDependenciesso that they can configure things themselves.