- 17 Sep, 2018 1 commit
-
-
Tore Hammervoll authored
* Update jest version * Update babel-jest version * Use testURL: http://localhost in jest configs. * Update to jest version 23.5 This version of jest includes a fix for https://github.com/jsdom/jsdom/issues/2304 * "testURL": "http://localhost" is default with jest v23.5
-
- 02 Sep, 2018 1 commit
-
-
Anna Henningsen authored
This fixes the functionality of this dependency for Node 10 and above. Refs: https://github.com/webpack/webpack-dev-server/pull/1451 Refs: https://github.com/nodejs/node/issues/21665
-
- 22 Aug, 2018 1 commit
-
-
Dan Abramov authored
-
- 26 Jul, 2018 1 commit
-
-
Jed Fox authored
-
- 23 Jul, 2018 2 commits
-
-
Vladimir Kutepov authored
- 15 Jul, 2018 1 commit
-
-
Jack Zhao authored
* support scoped packages for cra --scripts-version option * seperate out kitchensink test * add eject to node 6 testing * travis node 6 eject * fix CI warnings
-
- 05 Jul, 2018 2 commits
-
-
Mike Wilcox authored
-
Miguel Palau authored
-
- 30 Jun, 2018 1 commit
-
-
Ideveloper authored
* Suggest `reactstrap` instead of `react-bootstrap` * Update README.md
-
- 07 Jun, 2018 1 commit
-
-
Dmitriy Sadkovoy authored
-
- 05 Jun, 2018 3 commits
-
-
Dmitriy Sadkovoy authored
-
Marius Gedminas authored
-
Dan Abramov authored
-
- 03 Jun, 2018 1 commit
-
-
Josh Comeau authored
-
- 31 May, 2018 1 commit
-
-
Joshua Comeau authored
To analyze Webpack bundles, a "stats" JSON is required. This PR allows that file to be created and saved to the `build` directory, so that users can use it with Webpack-specific insight tools like `webpack-bundle-analyzer` without ejecting their application. Updated the README to include details for how to do this.
-
- 24 May, 2018 1 commit
-
-
Jack Zhao authored
-
- 23 May, 2018 1 commit
-
-
Graeme authored
* Update paths.js, rename shadow path variable This file requires the "path" module and sets it to a variable `path`. The function `ensureSlash` also has a variable `path` that then shadows the `path` module. * Update paths.js
-
- 22 May, 2018 1 commit
-
-
Saimon Moore authored
-
- 20 May, 2018 4 commits
-
-
Luis Nell authored
* Removes Chokidar Recursive Flag According to the changelog it is not necessary anymore as it doesn't do anything. * Removes initial build on SCSS watch Chokidar now does this on it's own. * Removes sass watch recursive, default include-path as proposed by @michaelwayman * Removes another left-over build-css
-
Craig Mulligan authored
Support for .mjs files added in #3239 did not account for npm libraries which ship native mjs files alongside js files. This accounts for this by ensuring .js files resolve before their accompanying .mjs file. Note that this is not an ideal end state since selecting a .mjs over a .js extension should be the result of whether `import` was used instead of `require()` in a node environment with native ESM support (currently via `--experimental-modules`). Instead, this change just *always* selects a .js extension before the .mjs extension if it exists. This unbreaks support for using GraphQL (relay, apollo, etc) within create-react-app projects.
-
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...
-
- 16 May, 2018 1 commit
-
-
Mike Kusold authored
-
- 14 May, 2018 1 commit
-
-
Ian Sutherland authored
* Update svgr to 1.9.2 in order to reduce install size
-
- 08 May, 2018 2 commits
-
-
William Chargin authored
Summary: The `hasSlash` method uses `path.substr(path, path.length - 1)` to remove the last character from `path`. Clearly, the first parameter is suspect; it should be `0`. The code works as written, but only very accidentally: the first parameter is coerced by `ToNumber` to `NaN`, which is then coerced by `ToInteger` to `+0`, per [the spec][1]. [1]: https://www.ecma-international.org/ecma-262/6.0/#sec-string.prototype.substr Test Plan: Reading the spec should be sufficient. To verify in the Real World: ```js const path = "has-slash-but-does-not-need-slash/" const a = path.substr(path, path.length - 1); const b = path.substr(0, path.length - 1); console.log(a === b); // true console.log(a); // has-slash-but-does-not-need-slash ``` wchargin-branch: ensureslash-accidental-coercion
-
arianon authored
* Update getCSSModuleLocalIdent to support Sass * Fix Sass/SCSS index module tests Also make them more consistent with the non-index variants.
-
- 28 Apr, 2018 1 commit
-
-
Mikhail Osher authored
* Update sass-loader (#4363) * Added bootstrap scss test (#4376)
-
- 27 Apr, 2018 3 commits
-
-
Andreas Cederström authored
-
Chad Greenburg authored
* Updated jest version.
-
Andreas Cederström authored
-
- 21 Apr, 2018 1 commit
-
-
wtgtybhertgeghgtwtg 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.
-
- 15 Apr, 2018 3 commits
-
-
Antti Ahti authored
-
Tom Coleman authored
Learnstorybook is a tutorial for Storybook that both uses CRA and is at a level of introductionary detail appropriate for CRA users.
-
Jerry Muzsik authored
* Docs - Document multiple build environments via * Docs - Document multiple build environments via * Docs - Document multiple build environments via * Docs - Document multiple build environments via env-cmd * fix - based upon requests * Update README.md
-
- 13 Apr, 2018 2 commits
-
-
Francis Upton IV authored
-
Ro Savage authored
* Update CSS Modules localIndetName * Add missing file to package * Correct regex * plz plz plz
-
- 05 Apr, 2018 1 commit
-
-
Andreas Cederström authored
-
- 04 Apr, 2018 1 commit
-
-
Andreas Cederström authored
-