Skip to content

Commit

Permalink
chore/use register export condition for custom loaders npm scripts (#177
Browse files Browse the repository at this point in the history
)
  • Loading branch information
thescientist13 authored Jan 30, 2025
1 parent 3b20e99 commit 80f50e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"scripts": {
"clean": "rimraf public .greenwood storybook-static",
"build": "node --import @greenwood/cli/src/register.js ./node_modules/@greenwood/cli/src/index.js build",
"build": "node --import @greenwood/cli/register ./node_modules/@greenwood/cli/src/index.js build",
"dev": "greenwood develop",
"serve": "npm run clean && npm run build && greenwood serve",
"story:dev": "storybook dev -p 6006",
Expand Down

0 comments on commit 80f50e1

Please sign in to comment.