Bot releases are visible (Hide)
Published by github-actions[bot] over 2 years ago
64134a9: Adding unmissable notice (error) when using HMR and SCRIPT_DEBUG is not set to true
The recommended way of including the fast-refresh.php
file is now the following:
$is_local_env = in_array( wp_get_environment_type(), [ 'local', 'development' ], true );
$is_local_url = strpos( home_url(), '.test' ) || strpos( home_url(), '.local' );
$is_local = $is_local_env || $is_local_url;
if ( $is_local && file_exists( __DIR__ . '/dist/fast-refresh.php' ) ) {
require_once __DIR__ . '/dist/fast-refresh.php';
TenUpToolkit\set_dist_url_path( basename( __DIR__ ), TENUP_THEME_DIST_URL, TENUP_THEME_DIST_PATH );
}
86d68ac: Update devServer
so the overlay only shows up on errors.
Update StyleLintPlugin
so it sets failOnError
to false
, similarly to EslintPlugin
.
props @Antonio-Laguna @nicholasio
Published by github-actions[bot] over 2 years ago
block
or blocks
directories as blocks. #204
props @tlovett1
Published by nicholasio over 2 years ago
All notable changes to this project will be documented in this file, per the Keep a Changelog standard.
Published by github-actions[bot] over 2 years ago
All notable changes to this project will be documented in this file, per the Keep a Changelog standard.
Published by nicholasio over 2 years ago
@10up/block-components
. Make sure to use the latest version of @10up/block-components
that already ships transpiled code. #181
wp-polyfill
as dependecy of scripts built by 10up-toolkit. #193.props: @nicholasio @Antonio-Laguna
Published by nicholasio over 2 years ago
Published by nicholasio over 2 years ago
@wordpress/eslint-plugin
to 11.0.0 to resolve an issue with conflicting prettier deps. https://github.com/WordPress/gutenberg/issues/39208
Users should no longer get warnings or errors about conflicting prettier dependencies. Additionally running npm ls prettier
will no longer show the wp fork of prettier as being installed.
Published by nicholasio over 2 years ago
--analyze
option to the build to enable webpack-bundle-analyzer #148
TenUpToolkitTscPlugin
that runs tsc both on build and watch if tsconfig.json is present. #151
imagemin-webpack-plugin
with image-minimizer-webpack-plugin
#147
imagemin
in favor of squoosh
#157
@svgr/webpack
to 6.2.1 and removed postcss-object-fit-image
as it's not necessary.@wordpress/eslint-plugin
in favor of @10up/eslint-plugin
. [#153] (https://github.com/10up/10up-toolkit/pull/153)stylelint-declaration-use-variable
(deprecated) with stylelint-declaration-strict-value
#160
props: @nicholasio @fabiankaegy
Published by nicholasio over 2 years ago
.ico
and .otf
files to be copied via copy-webpack-plugin.props @Antonio-Laguna @nicholasio
Published by nicholasio almost 3 years ago
postcss-preset-env
has been updated to 7.0 and postcss-nested
has been replaced with postcss-nesting
. If your project uses postcss-nested
syntax, you will need to update it to be compatible with postcss-nesting
syntax.props @nicholasio @rdimascio @Antonio-Laguna @ian-pvd
Published by nicholasio almost 3 years ago
[Security] Updated deps
Published by nicholasio about 3 years ago
Published by nicholasio about 3 years ago
Published by nicholasio over 3 years ago
Published by nicholasio over 3 years ago
Published by nicholasio over 3 years ago
Published by nicholasio over 3 years ago
Fixed: Babel error when running jest.
Added: Webpack dev server
Published by nicholasio over 3 years ago
Published by nicholasio over 3 years ago