preact-cli@3.4.0
Minor Changes
-
#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 'PREACT_APP_' 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.
Patch Changes
-
#1667
a56d904
Thanks @rschristian! - Allows users to author prerender-urls.js as ESM once again -
#1693
6385ec1
Thanks @rschristian! - Bumps dependencies to latest versions where possible and applicable. -
#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 -
#1700
a60f8df
Thanks @rschristian! - Removes the archived & non-recommended 'material' template from 'preact list' output -
#1426
7d33cd1
Thanks @VanTanev! - Improves prerender error message when offending use of browser globals cannot be found -
#1705
f9ef9b1
Thanks @rschristian! - Fixes HMR /--refresh
flag in watch mode