Permalink
Browse files

Update dist strategy

  • Loading branch information...
leoj3n committed Oct 7, 2018
1 parent abee460 commit 2966115694ff587c79e92a85d76bc23b62162248
Showing with 4 additions and 3 deletions.
  1. +1 −1 client/index.stache
  2. +1 −1 client/package.json
  3. +1 −1 client/production.html
  4. +1 −0 server/config/production.json
@@ -46,7 +46,7 @@

{{#switch env.NODE_ENV}}
{{#case "production"}}
<script src="/dist/steal.production.js"></script>
<script src="/steal.production.js"></script>
{{/case}}
{{#default}}
<script src="/node_modules/steal/steal.js" main></script>
@@ -7,7 +7,7 @@
"version": "0.0.1",
"main": "bitcentivez-client/index.stache!done-autorender",
"scripts": {
"build": "rm -rf ./dist && node build",
"build": "rm -rf ./dist && node build && cp ./production.html ./package.json ./dist",
"test": "testee test.html --browsers firefox --reporter Spec"
},
"dependencies": {
@@ -2,6 +2,6 @@
<html>
<head></head>
<body>
<script src="/dist/steal.production.js"></script>
<script src="/steal.production.js"></script>
</body>
</html>
@@ -1,4 +1,5 @@
{
"client": "../../client/dist/",
"port": "PORT",
"host": "bitcentivez.herokuapp.com",
"mongodb": "MONGODB_URI"

0 comments on commit 2966115

Please sign in to comment.