mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Integrate demo env
This commit is contained in:
parent
91a8caefa1
commit
0860556ead
3 changed files with 5 additions and 3 deletions
|
@ -102,6 +102,7 @@
|
|||
"cy": "kill-port 8088 && php artisan serve --port=8088 & wait-on http://localhost:8088 && cypress run --browser chrome",
|
||||
"build": "yarn production",
|
||||
"prod": "yarn production",
|
||||
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
|
||||
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
||||
"build-demo": "cross-env NODE_ENV=demo node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit a86ef5b1c156f02360c533a4c1f063043942a5b8
|
||||
Subproject commit 0b468f1a254e9da773e2d90226cc8db69834303e
|
|
@ -14,7 +14,8 @@ module.exports = {
|
|||
},
|
||||
plugins: [
|
||||
new webpack.DefinePlugin({
|
||||
KOEL_ENV: '"web"'
|
||||
KOEL_ENV: '"web"',
|
||||
NODE_ENV: JSON.stringify(process.env.NODE_ENV || 'development')
|
||||
})
|
||||
],
|
||||
module: {
|
||||
|
|
Loading…
Reference in a new issue