0.1.1 • Published 5 years ago
@preconstruct/craco v0.1.1
@preconstruct/craco
A craco plugin for Preconstruct
Install
yarn add @preconstruct/craco
Usage
Note: this assumes craco is already setup, if you haven't done that already, please do that
Add the plugin to your craco.config.js
file.
const preconstructPlugin = require("@preconstruct/craco");
module.exports = {
plugins: {
plugin: preconstructPlugin
}
};
See an example of this in use at https://github.com/preconstruct/create-react-app-multi-package-repo.
Thanks
- This module is largely based off https://github.com/jackwilsdon/craco-use-babelrc