- 23 Jul, 2018 1 commit
-
- 24 May, 2018 1 commit
-
-
Jack Zhao authored
-
- 20 May, 2018 2 commits
-
-
Jack Zhao authored
* - [x] Upgrade to webpack 4.8.X - [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 * disable module concatenation * fix cleanup * fix optimization * restore tmp removal * preserve * fix css tests * fix test run * fix svg test * revert tmp dir * fix import * fix import * help debugging * fix tests * fix sass test * restore cleanup
-
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 it...
-
- 27 Apr, 2018 1 commit
-
-
Andreas Cederström authored
-
- 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
-
- 02 Apr, 2018 2 commits
- 09 Feb, 2018 1 commit
-
-
Robin van der Vleuten 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
-
- 18 Jan, 2018 1 commit
-
-
Joe Haddad authored
-
- 17 Jan, 2018 4 commits
-
-
Andrew authored
-
Ian Sutherland authored
* Import SVGs as React components (#1388) * Updated webpack production config and fixed tests * Improved Jest SVG file transform * Improved SVG tests * Add a comment * Update webpack.config.prod.js
-
Joe Haddad authored
-
Ro Savage authored
* Add css modules with [name].modules.css file convention * Add e2e for CSS Modules * Updated based on feedback * Change css modules class name to be deterministic and fix licences * Update css modules class naming convention
-
- 15 Jan, 2018 9 commits
-
-
Joe Haddad authored
-
Joe Haddad authored
* Cheap perf gains * Whoopsie
-
Dan Abramov authored
-
Clement Hoang authored
* Update dependencies in react-scripts * Add first pass of working dependencies for babel-preset-react-app and react-scripts * Bump more dependency versions * Adjust more versions and edit fix options * Restore functionality of old preset * Disable Uglify in iframe webpack * Apply prettier * Re-enable cache in dev and clean deps * Lock packages and move babel/core to dep in preset * Bump babel-jest * Re-enable uglify * Nest forceAllTransforms correctly in webpack config * Install babel-core bridge for jest * Add jest-cli and babel-core bridge to make tests in react-error-overlay pass * Re-enable transform-dynamic-import * Add dynamic import syntax support back * Use new babel in kitchensink * Transform modules in test * Revert "Transform modules in test" This reverts commit 539e46a1. * Attempt fix for ejected tests * try this * Add regenerator back * Bump babel deps to beta.34 * Remove bad files * Use default when requiring babel transform plugin * Bump deps * Try the fix? * Oopsie * Remove some weird things * Run Babel on react-error-overlay tests * Try fixing kitchensink * Use new API for codeFrame * Add missing (?) babelrc * Maybe this helps? * Maybe fix mocha * I shouldn't have deleted this
-
Jeffrey Posnick authored
* Disables navigateFallback and updates the README * Typos * Updated a URL in a comment.
-
everdimension authored
-
Andrey Sitnik authored
-
Joe Haddad authored
-
Ade Viankakrisna Fadlil authored
-
- 07 Dec, 2017 1 commit
-
-
Ian Sutherland authored
-
- 04 Nov, 2017 1 commit
-
-
Joe Lim authored
* extra watch options regex to react-dev-utils * fix regex * add test * fix eslint error * include react-dev-utils test in CI script * attempt to fix import error * attempt to fix error on CI * Update .eslintrc
-
- 28 Oct, 2017 2 commits
-
-
Joe Haddad authored
-
Satya van Heummen authored
Implement settings as suggested here: https://github.com/mishoo/UglifyJS2/tree/harmony#mangle-options To solve this Safari bug: https://bugs.webkit.org/show_bug.cgi?id=171041
-
- 06 Oct, 2017 1 commit
-
-
Jonny Buchanan authored
-
- 26 Sep, 2017 1 commit
-
-
Sophie Alpert authored
* File headers BSD+Patents -> MIT * BSD+Patents -> MIT
-
- 20 Sep, 2017 1 commit
-
-
Kristie Howard authored
-
- 02 Sep, 2017 1 commit
-
-
Anthony authored
-
- 09 Aug, 2017 1 commit
-
-
Ade Viankakrisna Fadlil authored
* use env variable to disable source maps * Rename to use SOURCE_MAP with explicit value * Update webpack.config.prod.js
-
- 02 Aug, 2017 1 commit
-
-
iamdoron authored
* Allow importing package.json * Remove package.json import from App.js template * fix importing package.json * Rename variable to reflect path is relative to root * Check for both package & package.json in ModuleScopePlugin * Use regex to check relative path to package.json * Strictly enforce package.json extension on scope plugin * Add allowedPaths to ModuleScopePlugin ctor and use it to allow app package.json * Remove package.json import from App.js template * Add package.json to react-scripts/template, show package version and name in the template * Remove import package.json from template * Remove template/package.json and its references in code * Update ModuleScopePlugin.js * Update README.md
-
- 09 Jul, 2017 1 commit
-
-
Andreas Hoffmann authored
* Use oneOf to resolve correct loader * Add html and json fallthrough again * Use oneOf to resolve correct loader in dev * Document file-loaders `js` exclusion * Remove `jsx` from exclusion in prod config
-