-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The config object should default to this:
{
src: './src',
dist: './dist',
entry: [
'./index.js'
]
}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']?
Metadata
Metadata
Assignees
Labels
No labels