You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or, would it be too tricky to have the default entrypoint default to ./${npm_package_name}.js from package.json.
Or, even trickier, if there's a wp-content/themes directory, (the project is a WordPress theme) default src and dist to ./wp-content/themes/${npm_package_name}/{src,dist} and entry to ['./js/main.js', './admin.js', './js/editor.js']?
The text was updated successfully, but these errors were encountered:
The config object should default to this:
Or, would it be too tricky to have the default entrypoint default to
./${npm_package_name}.js
from package.json.Or, even trickier, if there's a wp-content/themes directory, (the project is a WordPress theme) default
src
anddist
to./wp-content/themes/${npm_package_name}/{src,dist}
andentry
to['./js/main.js', './admin.js', './js/editor.js']
?The text was updated successfully, but these errors were encountered: