- #1674
0346549
Thanks @rschristian! - Supports consuming "proxy" from package.json to proxy API requests in watch mode
-
#1671
8d3bd42
Thanks @rschristian! - Any environment variables prefixed with 'PREACTAPP' will automatically be available for reference and use in your application without having to configureDefinePlugin
any more. Furthermore, if a.env
file exists in the root of your application, any variables it defines will automatically be available for use.Huge shout out to robinvdvleuten who provided this functionality through the
preact-cli-plugin-env-vars
package in the past.
- #1667
a56d904
Thanks @rschristian! - Allows users to author prerender-urls.js as ESM once again
- #1680
fcd0375
Thanks @rschristian! - Fixed bug in push-manifest that would result in undefined entries
- #1670
7afd8bb
Thanks @rschristian! - Corrects 'build --json' ouput location and 'apple-touch-icon' will respect the publicPath automatically
- #1426
7d33cd1
Thanks @VanTanev! - Improves prerender error message when offending use of browser globals cannot be found
- #1659
d452863
Thanks @rschristian! - Correctspush-manifest.json
generation in non-ESM builds
- #1658
6af4e9d
Thanks @rschristian! - Clarifies when the--template
flag is necessary in the CLI help information.
- #1646
e98994a
Thanks @rschristian! - Bumpingwebpack-dev-server
- #1635
00bea83
Thanks @rschristian! - Ensures TS warnings/errors are not hidden by console clearing
- #1634
8a6732b
Thanks @rschristian! - Ensures types are published with package
- #1648
e19ceb0
Thanks @rschristian! - Ensures the public path is normalized when registering service workers
- #1624
0b298ae
Thanks @rschristian! - Added typings for users to use in their preact.config.js files
- #1622
39be928
Thanks @rschristian! - Corrects module resolve priority, fixing issues with duplicated dependencies being incorrectly resolved
- #1619
9039ba2
Thanks @rschristian! - Fixing legacy SW generation while ESM is enabled
- #1618
11d5f3b
Thanks @rschristian! - Corrects error whensrc/sw.js
does not exist and esm is disabled
- #1508
0cfee78
Thanks @rschristian! - On project create, the CLI won't copy the HTML template or the service worker when the source template is a widget
- #1612
a4a66ce
Thanks @rschristian! - Changes port config precedence to: --port -> $PORT -> 8080 (default)
- #1613
3994a23
Thanks @rschristian! - Removing old & non-functional config helpersetHtmlTemplate
- #1599
e42a61c
Thanks @rschristian! - Reverts automatic conversion of--sw
flag in dev to a boolean, which stopped the debug service worker from attaching.
- #1580
95198f3
Thanks @developit! - Generate modern (approximately ES2017) code in development mode to better match production output.
- #1574
5117f46
Thanks @rschristian! - Removes Safari nomodule polyfill from template
- #1347
1276aa3
Thanks @teodragovic! - Remove fast-async
- #1595
6d100d0
Thanks @rschristian! - Ensuring the sw flag is a boolean in watch mode
- #1573
022d9a8
Thanks @rschristian! - Uses native FS promise API rather than promisifying manually
- #1568
bc6d5f6
Thanks @rschristian! - Fixes breaking change to the getLoadersByName config helper
- #1567
971e633
Thanks @rschristian! - Reverts update to fork-ts-checker-webpack-plugin
- #1465
3a11043
Thanks @ForsakenHarmony! - chore: update dependencies
4b81641
#1418 Thanks @merceyz! - Added monorepo and Yarn PnP support by correctly loading dependencies, removing faulty install checks, and adding undeclared dependencies
0e4f06a
#1503 Thanks @rschristian! - Ensures the create command returns startup instructions to users
df48437
#1499 Thanks @rschristian! - CLI now only conditionally outputs 200.html & preact_prerender_data.json
c33f020
#1435 Thanks @rschristian! - Change ensures root ReadMe is bundled with CLI package on publish
bf668b1
#1530 Thanks @rschristian! - Fixes bug causing wrong port to be given to Webpack config
cc2f3e7
#1423 Thanks @rschristian! - Fixes bug with style loader that would strip non-module CSS files if 'sideEffects' was set to false for the package.
c9c48db
#1504 Thanks @rschristian! - Replacing mkdirp with native mkdir recursive
977d59a
#1527 Thanks @jamesgeorge007! - Do not prompt on supplying the template as an argument
daa51ac
#1522 Thanks @jamesgeorge007! - Minor typographical fix
24c7473
#1516 Thanks @jgoamakf! - Do not produce preRenderData when --no-prerender option is specified.
9f9277b
#1534 Thanks @rschristian! - Fixes SW flag in dev
57cb566
#1490 Thanks @rschristian! - Adds the 'prerender' argument to the list of arguments to be validated against
6670ba0
#1461 Thanks @ForsakenHarmony! - fix: await copying of files in create command
30fb1fc
#1478 Thanks @rschristian! - No longer copies 'sw-debug.js' to output directory on prod builds. No functional changes, as it was not used.
fce7e7a
#1460 Thanks @ForsakenHarmony! - chore: remove preact-compat as it's unused
ab84275
#1434 Thanks @rschristian! - This disable SSR size tracking. This stopssize-plugin-ssr.json
from being generated and stops file sizes from being reported to the developer.
67fafc8
#1467 Thanks @prateekbh! - Allow only valid options for commands.
-
07c9a9c
#1413 Thanks @JoviDeCroock! - patch cleanFilename to also fix typescript and jsx files -
ff79f0b
#1406 Thanks @ForsakenHarmony! - Fix the prefresh integration, using--refresh
should now correctly enable fast-refresh