Browse Source

Update locale path in build

pull/3411/head
Artur Arseniev 5 years ago
parent
commit
87bf504237
  1. 2
      package.json

2
package.json

@ -113,7 +113,7 @@
"lint": "eslint src",
"check": "npm run lint && npm run test",
"build": "npm run check && run-s build:*",
"build:js": "grapesjs-cli build --targets=\"> 1%, ie 11, safari 8, not dead\" --statsOutput=\"stats.json\"",
"build:js": "grapesjs-cli build --targets=\"> 1%, ie 11, safari 8, not dead\" --statsOutput=\"stats.json\" --localePath=\"src/i18n/locale\"",
"build:css": "sass src/styles/scss/main.scss dist/css/grapes.min.css --no-source-map --style=compressed --load-path=node_modules",
"build:locale": "rm -rf ./locale && node scripts/build-locale.js && babel locale -d locale --copy-files --no-comments",
"start": "run-p start:*",

Loading…
Cancel
Save