- 01 Oct, 2018 1 commit
-
-
Maël Nison authored
* Adds the PnP plugin for Webpack to find dependencies when working under PnP * Adds configuration for jest * Adds an e2e test for when using PnP * Avoids cra from crashing at the engine check * Avoids cra from crashing when initializing react-scripts * Makes the ownPath portable * Fixes linting * Bumps to pnp-webpack-plugin@1.1.0, removes symlinks: false * Adds a --use-pnp option * Pin version
-
- 30 Sep, 2018 1 commit
-
-
Joe Haddad authored
* Only install react-scripts in CI mode * Link locally * Re-enable all output tests *
Polish webpack output * Test sass support message * Add more tests, but disabled * Format missing default export error * Format aliased import * Why was node-sass required? Odd * Format webpack rejection error * Re-enable unknown package test * Format file not found error and catch module scope plugin error * Re-disable case sensitive paths * Intercept and format case sensitive path errors * Test out of scope message formatting * Run behavior on macOS * Run behavior on Node 8 and 10, only Node 8 for macOS * Add some debugging * Update matcher * Only check stderr * Remove old snapshot * More debug * Remove debug * Add new debug * Disable test on linux * Add comment for future
-
- 29 Sep, 2018 1 commit
-
-
Joe Haddad authored
* Remove thread-loader After the cache is warm, it is possible for thread-loader to hurt speed * Disable babel output formatting
-
- 28 Sep, 2018 2 commits
-
-
Maël Nison authored
* Forwards args through thread-loader * Comments & dev
-
Joe Haddad authored
-
- 27 Sep, 2018 3 commits
-
-
Ian Sutherland authored
* Switch back to babel-loader * Preserve existing caller options. Use Object.assign instead of object spread. * Updated filename in package.json * Update comment about cache identifier * Update macro check to use a regex * Move macro check regex out of function
-
Joe Haddad authored
* Remove runtime alias hack * Pass absolute path to preset * Change comment * Give a relative path to absolute runtime * Clean up config * Tweak again * Make absolute runtime the default * Remove runtime package from error overlay
-
Marco Fugaro authored
-
- 26 Sep, 2018 3 commits
-
-
XiaoYan Li authored
-
Joe Haddad authored
-
Joe Haddad authored
-
- 25 Sep, 2018 5 commits
-
-
Joe Haddad authored
* Turn on helpers and test importing something with async/await works * Compiling babel runtime breaks itself * Add helpers option to babel plugin with defaults * Make helpers off by default and on in our configuration * Hit eject and e2e * meh * copy'n'paste * change again * Turn off helpers by default in /prod, /dev, /test * oops * Spread undefined * Use object assign not object spread * Put preset in template since it's needed * Fix e2e tests
-
Joe Haddad authored
* Drop ie 11 support and move polyfills to a new package * More useful directions for what entry point to use https://github.com/facebook/create-react-app/pull/5090#discussion_r220313783 * Clear up what file this polyfill goes in https://github.com/facebook/create-react-app/pull/5090#discussion_r220313980 * Polyfill `window`, not `global` * Remove proxy polyfill file
-
Joe Haddad authored
* Switch to stage 3 css * Tweak default browsers, too
-
Grady Kuhnline authored
* add postcss-preset-env, remove autoprefixer * limit to stage 4
-
Joe Haddad authored
* Add new overrides option * Add file to package.json * Create our own loader * Remove overrides * We have to use a real babel option * Add comments
-
- 24 Sep, 2018 1 commit
-
-
Joe Haddad authored
-
- 21 Sep, 2018 4 commits
-
-
Joe Haddad authored
-
Jason Laster authored
-
Joe Haddad authored
-
Joe Haddad authored
-
- 20 Sep, 2018 2 commits
-
-
Jason Laster authored
-
Joe Haddad authored
This is the best behavior so people have seamless upgrades to new React majors. This is probably a terrible default warning from the ESLint plugin, and we need to wait for https://github.com/yannickcr/eslint-plugin-react/issues/1955 before changing this hardcoded behavior. Closes #5034
-
- 19 Sep, 2018 2 commits
-
-
Joe Haddad authored
* Upgrade html webpack plugin * Fix build
-
Joe Haddad authored
* Disable webpack chunk rollup * Bump timeout * Revert "Bump timeout" This reverts commit 84632115d178b48e08eb75dc5e9a921ece6aa759.
-
- 18 Sep, 2018 2 commits
-
-
Joe Haddad authored
* Revert Lerna dependency, there's too many bugs in v3 * Remove `mjs` support
-
Joe Haddad authored
This reverts commit b43ad04b.
-
- 17 Sep, 2018 1 commit
-
-
Joe Haddad authored
The `formatter` option is incompatible with with `thread-loader`. The `formatter` option previously accepted a function which was lost during JSON serialization.
-
- 05 Jul, 2018 1 commit
-
-
Miguel Palau authored
-
- 07 Jun, 2018 1 commit
-
-
Dmitriy Sadkovoy authored
-
- 05 Jun, 2018 1 commit
-
-
Dmitriy Sadkovoy authored
-
- 20 May, 2018 1 commit
-
-
Andreas Cederström authored
- [x] Utilize webpack 4 development and production modes - [x] Upgrade webpack dev server - [x] Webpack 4 compatible release of thread-loader - [x] Webpack 4 compatible release of HtmlWebpackPlugin - [x] Webpack 4 compatible release of SwPrecacheWebpackPlugin - [x] Webpack 4 compatible release of WebpackManifestPlugin - [x] Update README - [x] Update WebpackDevServerUtils - [x] Update InterpolateHtmlPlugin - [x] Update ModuleScopePlugin - [x] Update WatchMissingNodeModulesPlugin - [x] Move UglifyJS options to webpack 4 optimize - [x] Move InterpolateHtmlPlugin to make it tapable on HtmlWebpackPlugin - [x] vendor splitting via splitChunks.splitChunks (https://twitter.com/wSokra/status/969633336732905474) - [x] long term caching via splitChunks.runtimeChunk (https://twitter.com/wSokra/status/969679223278505985) - [x] Make sure process.env.NODE_ENV is proxied correctly to `react-error-overlay` - [x] Implicit webpack.NamedModulesPlugin in dev config as its default in webpack 4 - [x] Disable webpack performance hints as we have our own filesize reporter - [x] Replace ExtractTextPlugin with MiniCssExtractPlugin - [x] Switch to css whole file minification via OptimizeCSSAssetsPlugin rather than per module css minification to gain performance
-
- 18 Apr, 2018 1 commit
-
-
Fabiano Brito authored
* Installs and adds sass loader task in webpack for dev environment. * Uses Timer's branch of sass-loader without node-sass dependency. * Adds method for handling SASS modules. * Fixes extension of excluded files when looking for scss modules. * Adds support for both .scss and .sass extensions. * Uses ExtractTextPlugin with sass-loader to bundle styles for the production build. * Bundles SASS modules for the production build. * Uses the latest version of sass-loader. * Adds function to create different rules for style loaders in dev environment. * Abstracts style loaders to a common function to avoid repetition. * Simplifies the common function that creates style loaders. * Creates assets for testing SASS/SCSS support. * Creates mock components and unit tests for SASS and SCSS with and without modules. * Creates integration tests for SASS/SCSS support. * Adds node-sass as a template dependency so sass-loader can be tested. * Includes sass tests when test component is mounted. * Fixes asserted module name for sass and scss modules tests. * Removes tests against css imports in SCSS and SASS files. * Updates sass-loader to v7. * Uses getCSSModuleLocalIdent from react-dev-utils. * Fixes tests to match the use of getCSSModuleLocalIdent. * Improves readability of getStyleLoader function. * Uses postcss after sass. * Refactors dev config to simplify common function for style loaders. * Refactors prod config to simplify common function for style loaders. * Use importLoaders config according to css-loader docs.
-
- 13 Apr, 2018 1 commit
-
-
Ro Savage authored
* Update CSS Modules localIndetName * Add missing file to package * Correct regex * plz plz plz
-
- 11 Feb, 2018 1 commit
-
-
Ade Viankakrisna Fadlil authored
-
- 03 Feb, 2018 1 commit
-
-
Pete Nykänen authored
* Add graphql loader to webpack config Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Update README.md Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Update react-scripts README.md Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Add graphql jest transform Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Add integration tests, pin versions in package.json Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Tests expect regexp matchers Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Use strict equal test instead Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Escaping is hard Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Add comment for signifying a different file * Update docs * Fix jest config * Remove node_modules exclusion * Update README.md * Inline graphql jest transform Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Update copyright header Signed-off-by:
petetnt <pete.a.nykanen@gmail.com> * Use .graphql extension only Signed-off-by:
petetnt <pete.a.nykanen@gmail.com>
-
- 02 Feb, 2018 1 commit
-
-
Ian Sutherland authored
* Add named asset import for svg files via babel plugin and webpack loader. * Fix failing e2e test * Switched to svgr loader * Updated SVG component test * Disable named asset import plugin in test environment * Added tests for including SVG in CSS * Update tests * Moved babel plugin config into webpack config
-
- 01 Feb, 2018 1 commit
-
-
bradfordlemley authored
* Support for multiple source paths via package.json srcPaths entry. Initial support for yarn workspace. Support lerna workspace, fix for when to use template files. Remove support for specifying srcPaths in package.json. Re-enable transpilation caching. * Clean up, use file matching (similar to original) in webpack configs instead of matching function. * Remove package lock files. * Fix for eject. Note: monorepos won't work after eject. Can be fixed easily with JEST 22.0.?+ which has file pattern matches against realpaths. * Filter tests to run only tests in monorepo components included by the app. (Not sure this is desireable, might be cool to be able to easily run all tests in monorepo from one app.) * Fix conditions for when to use template. * Fix eject. * Remove code that is not needed w/ Jest 22. * Include all cra-comp tests in monorepo instead of trying to include only tests that are dependencies of app. (tests can be easily filtered via jest cli if desired, e.g. 'npm test -- myapp comp1') * Pin find-pkg version. * Hopefully fix jest test file matching on windows by removing first slash. * E2E tests for monorepo. * Run monorepo tests in CI. * Fix and test post-eject build. * Fix e2e test. * Fix test suite names in appveyor. * Include individual package dirs as srcPaths instead of top-level monorepo root. Fixes build/start after eject. * Fix running tests after eject. * Clean up test workspace, add some verifcations. * Cleanup. * Try to fix hang when running test on appveyor. * Don't write babel or lint config to package.json when ejecting. * Incorporate review comments. * Simply monorepo pkg finder * Only include monorepo pkgs if app itself is included in monorepo * Check for specific tests in e2e * Fixes for windows. * Fix for kitchensink mocha tests compiling. * Add lerna monorepo test. * Fix lerna bootstrap on windows. * Incorporate more review comments: * remove support for lerna w/o yarn workspace * add react and react-dom as devDeps to comp1 and comp2 * Add monorepo info to user guide.
-
- 22 Jan, 2018 1 commit
-
-
Michaël De Boey authored
-
- 21 Jan, 2018 1 commit
-
-
Dan Abramov authored
-