update: from arackaf/customize-cra#4
Merged
onlyling merged 62 commits intoonlyling:masterfrom Nov 14, 2019
Merged
Conversation
Update(README.md): TypeScript with Less
feat: addWebpackExternals
chore: fix typo in addWebpackExternals
feat: add addWebpackPlugin
* chore: add .prettierrc * chore: run prettier on index.js
* chore: install jest This change installs `jest@^24` and replaces the `test` script with a call to `jest`. * test: add addBabelPreset(s) tests This change adds tests for `addBabelPreset` and `addBabelPresets`. This adds a test case for a reported bug with `addBabelPresets` that was caused by incorrect documentation of the api. * docs: fix incorrect addBabelPresets usage This change adds a note not to pass an array of presets to `addBabelPresets` and removes the passed array in the code example. * test: complete babel loader coverage * chore: add coverage to .gitignore
* test: add webpack fns tests * test: add override coverage * test: add addDecoratorsLegacy coverage * test: add linting fn coverage * test: add coverage for most remaining fns
* refactor: separate customizers and utilities This PR also moves the source files to `src/` folder. * refactor: break out override fns from utilities * refactor: split babel and webpack customizers * fix: add module exports to src/index.js
* doc(readme): format using prettier * doc(readme): add CRA v3 support note
* chore(pkg): set cjs main and es module * chore(rollup): configure basic build process * chore(babel): add preset-env for jest * refactor(pkg): convert to import/export syntax * chore(pkg): add clean & prepack scripts * chore(rollup): add babel plugin * chore(babel): add object-rest-spread plugin * chore(rollup): add terser plugin for minification * chore(rollup): add sourcemaps plugin and enable * doc(rollup): add comments explaining rollup configuration
* doc: create contributing.md * doc(readme): add note about contributing.md
* chore(pkg): add husky and commitlint enforcement * docs(contributing): add conventional-commits note and link
The addExternalBabelPlugin(s) functions allow a user to inject plugins into the `babel-loader` targeting code outside of the `src/` directory. This works in tandem with addBabelPlugin(s) to be able to target code anywhere in a project. * add new feature: addBabelPluginOutSideOfApp and update snapshot(now the config will be more like cra2/3 webpack-config);user can customize babel loader for outside of the app * chore: rename addExternalBabelPlugins and add docs * docs: move addExternalBabelPlugin/addExternalBabelPlugins to the bottom * docs: optimize api.md for addExternalBabelPlugin/addExternalBabelPlugins
This change allows a user to provide all of the `webpack.externals` types: `string`, `object`, `function`, and `regex` * feat: addWebpackExternals with combining syntaxes * feat: addWebpackExternals with combining syntaxes Latecomers prevail. * docs(api): add addWebpackExternals types note
This change adds the `addWebpackModuleRule` customizer, which allows a user to provide a rule which that will be added to the webpack config's `module.rules` array.
This functions adds an item to the babel-loader config's `exclude` array.
* docs(api): restructure content * docs: move Usage to readme and restructure
* feat: implement setWebpackTarget * docs: add @jthistle as a contributor Co-authored-by: Mark Chandler <[email protected]>
* solve #153 solve #153 * test: fix addWebpackModuleRule snapshot * docs: add @postgetme as a contributor
* feat:fix bugs on setWebpackPublicPath * test: add setWebpackPublicPath http/https tests
Co-authored-by: mazhaojun <[email protected]>
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.4.0...4.5.0) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: null <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/jonschlinkert/mixin-deep/releases) - [Commits](jonschlinkert/mixin-deep@1.3.1...1.3.2) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: null <49699333+dependabot[bot]@users.noreply.github.com>
* docs: add @danilofuchs as a contributor * feat: add setWebpackStats
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.