Skip to content

Commit

Permalink
Changed public path of production
Browse files Browse the repository at this point in the history
  • Loading branch information
christianalfoni committed Feb 27, 2016
1 parent 86c5abe commit cd8a6a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"client": "kotatsu serve app/main.js --public public --index index.html --config webpack.config.js --devtool eval-source-map --proxy /api http://www.codebox.dev:4000/api",
"server": "kotatsu start start.js",
"build": "npm run build:client",
"build:client": "kotatsu build client app/main.js --config webpack.production.config.js --minify -o public/client_build.js",
"build:client": "kotatsu build client app/main.js --config webpack.production.config.js --minify -o public",
"build:server": "kotatsu build server start.js --minify -o server_build.js",
"postinstall": "node configure && npm run build"
},
Expand Down
3 changes: 3 additions & 0 deletions webpack.production.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
var path = require('path');

module.exports = {
output: {
publicPath: '/'
},
resolve: {
alias: {
'common': path.join(__dirname, 'app/common')
Expand Down

0 comments on commit cd8a6a4

Please sign in to comment.