diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2019-02-11 19:30:16 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2019-02-13 09:03:11 +0100 |
commit | 329da5fb992f6a3400fd20f34efb1752f05030e5 (patch) | |
tree | 8d4d8538eb849298faf7ed7e5156d1acc75541ac | |
parent | 6c6642e8eec340f13dc2265f25dec620a5cd16ed (diff) | |
download | nextcloud-server-329da5fb992f6a3400fd20f34efb1752f05030e5.tar.gz nextcloud-server-329da5fb992f6a3400fd20f34efb1752f05030e5.zip |
Move webpack config to root
Then we can include all server repo webpack configs in 1 go
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r-- | core/webpack.js (renamed from core/webpack.common.js) | 0 | ||||
-rw-r--r-- | package.json | 4 | ||||
-rw-r--r-- | webpack.common.js | 3 | ||||
-rw-r--r-- | webpack.dev.js (renamed from core/webpack.dev.js) | 0 | ||||
-rw-r--r-- | webpack.prod.js (renamed from core/webpack.prod.js) | 0 |
5 files changed, 5 insertions, 2 deletions
diff --git a/core/webpack.common.js b/core/webpack.js index 651bffaad9f..651bffaad9f 100644 --- a/core/webpack.common.js +++ b/core/webpack.js diff --git a/package.json b/package.json index 580bbb975d6..caae290a8e0 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ "test": "tests" }, "scripts": { - "build": "webpack --progress --hide-modules --config core/webpack.prod.js", - "dev": "webpack --progress --watch --config core/webpack.dev.js" + "build": "webpack --progress --hide-modules --config webpack.prod.js", + "dev": "webpack --progress --watch --config webpack.dev.js" }, "repository": { "type": "git", diff --git a/webpack.common.js b/webpack.common.js new file mode 100644 index 00000000000..a182fd74244 --- /dev/null +++ b/webpack.common.js @@ -0,0 +1,3 @@ +const core = require('./core/webpack'); + +module.exports = [].concat(core); diff --git a/core/webpack.dev.js b/webpack.dev.js index 8de803b5683..8de803b5683 100644 --- a/core/webpack.dev.js +++ b/webpack.dev.js diff --git a/core/webpack.prod.js b/webpack.prod.js index 7cf446b9be5..7cf446b9be5 100644 --- a/core/webpack.prod.js +++ b/webpack.prod.js |