Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Block: Generate a block.json file #23399

Merged
merged 5 commits into from
Jun 25, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use npm syntax for file paths
Co-authored-by: Greg Ziółkowski <[email protected]>
  • Loading branch information
coreymckrill and gziolo committed Jun 24, 2020
commit ec40cef40adb79203aac46c091a949cc0a6fbab1
6 changes: 3 additions & 3 deletions packages/create-block/lib/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ const predefinedBlockTemplates = {
description:
'Example block written with ES5 standard and no JSX – no build step required.',
wpScripts: false,
editorScript: 'file:index.js',
editorStyle: 'file:editor.css',
style: 'file:style.css',
editorScript: 'file:./index.js',
editorStyle: 'file:./editor.css',
style: 'file:./style.css',
},
},
esnext: {
Expand Down