fix: components copy script

This commit is contained in:
Mo
2022-01-03 12:16:07 -06:00
parent b0b7ce487a
commit ea3b82e73a
5 changed files with 12 additions and 10 deletions

View File

@@ -11,7 +11,7 @@
"start": "webpack-dev-server --config webpack.dev.js",
"watch": "webpack -w --config webpack.dev.js",
"watch:desktop": "webpack -w --config webpack.dev.js --env platform='desktop'",
"bundle": "webpack --config webpack.prod.js && cp -r node_modules/@standardnotes/components/dist public/components && yarn tsc",
"bundle": "webpack --config webpack.prod.js && cp -r node_modules/@standardnotes/components/dist/ public/components && yarn tsc",
"bundle:desktop": "webpack --config webpack.prod.js --env platform='desktop'",
"bundle:desktop:beta": "webpack --config webpack.prod.js --env platform='desktop' --env public_beta='true'",
"build": "bundle install && yarn install --frozen-lockfile && bundle exec rails assets:precompile && yarn bundle",