diff --git a/package.json b/package.json index 6c0b404..3abbef3 100644 --- a/package.json +++ b/package.json @@ -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", + "build:client": "kotatsu build client app/main.js --config webpack.production.config.js --minify -o public/client_build.js", "build:server": "kotatsu build server start.js --minify -o server_build.js", "postinstall": "node configure && npm run build" }, diff --git a/webpack.production.config.js b/webpack.production.config.js index a53fd69..72a26a9 100644 --- a/webpack.production.config.js +++ b/webpack.production.config.js @@ -2,7 +2,7 @@ var path = require('path'); module.exports = { output: { - publicPath: '/public' + publicPath: '/' }, resolve: { alias: {