Commit 01171422 authored by Matija Obreza's avatar Matija Obreza
Browse files

Express: UI build target folder is packages/ui-express/target

parent 7996e578
......@@ -22,7 +22,7 @@ module.exports = {
filename: '[name].js',
chunkFilename: '[name].js',
publicPath: '',
path: path.join(process.cwd(), '../../target/app/server')
path: path.join(process.cwd(), 'target/app/server')
},
resolve: {
......
......@@ -121,7 +121,7 @@ module.exports = {
output: {
filename: '[name].[hash].js',
chunkFilename: '[name].[hash].js',
path: path.join(process.cwd(), '../../target/app/assets'),
path: path.join(process.cwd(), 'target/app/assets'),
publicPath: ''
},
......
......@@ -4,13 +4,13 @@
"license": "Apache-2.0",
"description": "",
"scripts": {
"clean": "rimraf generated",
"clean": "rimraf generated target",
"i18nGenerate": "gg-i18n --moduleName=express --includedLocales=['../client/locales/**/*.json']",
"build": "yarn run i18nGenerate && yarn run build:client && yarn run build:server",
"build:server": "webpack --config config/server.config.js",
"build:client": "cross-env NODE_ENV=development SSR=true webpack --config config/webpack-production.config.js",
"start:dev": "yarn run i18nGenerate && cross-env NODE_OPTIONS=--max_old_space_size=8192 webpack-dev-server --config config/webpack-development.config.js",
"start:prod": "yarn run build && cd ../../target/app/server && node server.js"
"start:prod": "yarn run build && cd target/app/server && node server.js"
},
"dependencies": {
"@gringlobal/client": "*",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment