Sushruth Shastry
11cc599463
fix(web): remove obsolete options for terser in webpack 5 mode ( #6956 )
...
* fix(web): remove chunkFilter option in webpack 5 mode
Fixes #6953
* fix(web): correct fix for the issue
2021-10-04 14:51:15 -04:00
Jack Hsu
fec1c39be0
feat(react): add migration to replace deprecated node-sass with sass ( #7105 )
2021-09-23 12:01:38 -04:00
Marko Grešak
bbeb89cbc2
fix(web): fix stylesOptimization for webpack 5 ( #6817 )
...
ISSUES CLOSED : #6816
2021-09-15 15:22:07 +00:00
Jack Hsu
06d20352f7
fix(react): fix extracCss option for webpack 5 ( #6925 )
2021-09-03 12:17:48 -04:00
Jack Hsu
cddb1edd56
feat(react): add format option for buildable libs ( #6753 )
...
- Clean up @nrwl/web:package executor
- Combine react package e2e tests to speed up test time
2021-08-18 23:08:30 -04:00
Juri
b5b5f250d0
feat(react): add Nx React Storybook preset
2021-08-06 18:11:47 +02:00
Jack Hsu
cdb954083e
fix(web): remove unnecessary packages from being installed with @nrwl/web ( #6554 )
2021-07-30 15:51:43 -04:00
Jack Hsu
70c0921180
feat(react): add fast refresh support for webpack 5 ( #6529 )
2021-07-29 18:16:26 +00:00
Jack Hsu
801dad4da9
fix(web): fix stylePreprocessorOptions option ( #6265 )
2021-07-07 13:29:51 -04:00
Jack Hsu
4b859493ea
feat(web): add migration generator for webpack 5 ( #6232 )
2021-07-06 12:21:20 -04:00
Jack Hsu
369da3ee78
feat(web): add support for webpack 5 ( #5892 )
2021-06-29 08:41:01 -04:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 ( #5623 )
2021-06-17 16:44:30 +02:00
Phillip Barta
9d78629ec0
cleanup(web): use json utils ( #5944 )
2021-06-16 21:09:30 +00:00
vsavkin
319a90b6ab
feat(web): add a plugin to coordinate webpack and nx builds
2021-05-19 16:12:02 -04:00
Zachary DeRose
9878619706
feat(web): environment variables interpolated to index.html ( #5521 )
...
* feat(web): environment variables interpolated to index.html
* feat(web): Support for %PUBLIC_URL% as option in index.html
* chore(web): adding test case for NX_ option not present
* fix(web): supporting deployUrl - not publicUrl
* fix(web): e2e test added for index.html interpolation
* fix(web): rm unused publicUrl instance
* fix(web): rm more unused publicUrl instances
* fix(web): fixing e2e test
* fix(web): fixing e2e test
* fix(web): fixing e2e test expected formatting
* fix(web): fixing whitespace issue in tests
* fix(web): using regex in interpolation
2021-05-19 11:46:07 -07:00
Emily Xiong
b8584a6f18
feat(react): add react fast refresh to webpack ( #5612 )
2021-05-18 15:47:18 -04:00
Noriyuki Shinpuku
cd3dd9431a
fix(web): set envName to production when script optimization is enabled ( #5522 )
...
ISSUES CLOSED : #5512
2021-05-14 08:51:29 -04:00
Tasos Bekos
156e3c2c40
chore(repo): use jest-circus runner
2021-04-26 15:16:09 -04:00
Phillip Barta
c0ce1ce65e
cleanup(core): normalized usage of fs-extra and updated fs-extra to 9.1.0 ( #5199 )
...
* cleanup(core): normalized usage of fs-extra and updated fs-extra
* cleanup(misc): use fs over fs-extra when possible
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-04-22 12:52:52 -04:00
Lukas Geiter
b39f559380
fix(web): fix postcss-loader options object structure ( #5420 )
2021-04-21 12:30:48 -04:00
Tasos Bekos
5ad1a61a7a
feat(web): support multiple rollupConfig plugins
2021-04-16 08:36:10 -04:00
Phillip Barta
0e99ffca2f
cleanup(repo): replaced deprecated opn package with open ( #5236 )
2021-04-12 15:42:22 -04:00
Vivek More 🧐
212fb00548
cleanup(misc): use more es6 features
...
- Single char alternation (e.g. a|b|c|d) in a RegExp can be simplified to use a character class ([abcd]) instead.
This usually also provides slightly better matching performance.
- Character escapes that are replaceable with the unescaped character without a change in meaning. Inside the square brackets of a character class, many escapes are unnecessary that would be necessary outside of a character class. For example the regex [\.] is identical to [.]
- If several qualified expressions occur after the qualifier having been checked for nullable, they can be replaced with optional chaining
2021-03-24 20:11:32 -04:00
Vivek
d1b09eaabd
cleanup(misc): make code more consistent and fix typos
2021-03-23 13:03:17 -04:00
Jack Hsu
f6c4958e80
feat(web): added runtimeChunk option ( #5043 )
...
Co-authored-by: Tycho Bokdam <tycho@palmtreecoding.com>
2021-03-16 14:47:51 +00:00
Vivek More
49ba90b81a
cleanup(misc): use shorthand
2021-03-08 10:13:06 -05:00
Noriyuki Shinpuku
041340b06a
feat(web): improve support for decorators ( #4826 )
...
* chore(repo): add babel-plugin-transform-typescript-metadata
* feat(web): improve support for decorators
* fix(web): fix the order of babel-plugin-transform-typescript-metadata
2021-03-01 15:20:03 -05:00
Jason Jean
f880bd295d
feat(react): remove references to angular devkit from @nrwl/web ( #4705 )
2021-02-04 16:56:44 -05:00
Jason Jean
34781a11c2
feat(react): migrate @nrwl/web:dev-server to devkit ( #4682 )
2021-02-03 16:33:51 -05:00
James Henry
132eb71218
feat(web): upgrade to postcss v8 ( #4277 )
...
* feat(web): upgrade to postcss v8
* fix(web): update usage of updated postcss plugin
* fix(web): account for change in postcss-loader behaviour with additional loader
2021-02-03 08:26:27 -05:00
Jason Jean
06f84b3326
feat(react): migrate @nrwl/web schematics to devkit ( #4666 )
2021-02-02 18:56:35 -05:00
Jason Jean
6bd0c2deac
feat(react): migrate @nrwl/web:build to devkit ( #4646 )
2021-02-01 17:06:41 +00:00
Tasos Bekos
6bf245edb7
fix(react): change css modules class naming convention
...
Similar to 7e4949a20f/packages/react-dev-utils/getCSSModuleLocalIdent.js
2021-01-29 20:26:00 -05:00
Tasos Bekos
1f534317d0
fix(nextjs): support shared assets
...
Closes #4552
2021-01-27 15:07:52 -05:00
Tasos Bekos
f95f855cf7
fix(web): handle delete-output-path option
...
Closes #4015
2021-01-07 14:41:21 -05:00
Tasos Bekos
038cef1ec9
fix(react): fix Less & Stylus ( #4195 )
2020-12-04 11:03:48 -05:00
Jason Jean
b9791a3108
feat(core): upgrade to angular and angular devkit 11 ( #4095 )
2020-11-30 14:07:27 -05:00
Victor Savkin
cdcd2415a6
chore(repo): reenable linting
2020-11-13 20:56:19 -05:00
Tasos Bekos
0ec634d61a
fix(react): use only liveReload option of webpack-dev-server
...
Closes #3910
2020-11-07 08:53:59 -05:00
Jack Hsu
c84ad4020f
fix(react): support vendor sourcemap option for web build ( #3902 )
2020-10-09 19:35:27 -06:00
Brian
3f436fc6d0
feat(core): add flag to set dependant libs in either peerDependencies or dependencies ( #3078 )
...
* feat(core): add flag to set dependant libs in either peerDependencies or dependencies
* fix(core): mark new property as optional
* feat(core): add migration for new option
* Update migrations.json
Co-authored-by: Jonathan Cammisuli <jon@cammisuli.ca>
2020-09-30 10:36:35 -04:00
Jack Hsu
d5481e58b2
fix(react): support default envName behavior for babel (e.g. set through BABEL_ENV or NODE_ENV) ( #3693 )
2020-09-09 10:47:09 -04:00
Martin Hochel
6b8592da2e
feat(misc): add babelJest support to node,web,workspace,express plugins ( #3636 )
...
ISSUES CLOSED : #3041
2020-09-08 13:59:36 -04:00
Adam L Barrett
5fa38f89f6
cleanup(react): add e2e test for IE support and differential loading
2020-09-03 10:47:46 -04:00
Tasos Bekos
8c4904240e
fix(web): don't run type checking for legacy build
...
ISSUES CLOSED : #3349
2020-09-01 11:49:53 -04:00
Jan
95dd857126
fix(core): handle projects build assets option being empty ( #3591 )
...
ISSUES CLOSED : #3590
2020-08-31 19:33:27 +03:00
Tasos Bekos
dd1527ce03
cleanup(repo): robust CopyWebpackPlugin tests ( #3616 )
2020-08-28 14:57:55 -04:00
Tasos Bekos
7fcf136cad
fix(web): clean output bewtween library builds ( #3547 )
...
* fix(web): clean output bewtween library builds
* fix(web): avoid deleting files before differential loading build
2020-08-19 22:14:00 -04:00
Jason Jean
d4fe7815cc
fix(web): remove duplicate copy webpack plugin ( #3556 )
2020-08-18 17:03:34 -04:00
Tasos Bekos
c8cb3ceeae
fix(web): clean output bewtween builds ( #3544 )
...
ISSUES CLOSED : #3466
2020-08-17 12:45:34 -04:00