Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-07-20 18:07:45 +0300
committerMorris Jobke <hey@morrisjobke.de>2020-07-30 17:38:52 +0300
commitcddf94ceb78801c4cdac3cce0d7159f13659ac0f (patch)
tree28b5d2d13ecf8ac7e97f1288c6b4565a5b261549 /webpack.common.js
parentd7845570c05f5c2640ce1ff8e27d0b881d950c86 (diff)
Replace merge.smart
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'webpack.common.js')
-rw-r--r--webpack.common.js32
1 files changed, 16 insertions, 16 deletions
diff --git a/webpack.common.js b/webpack.common.js
index d304828e578..b7aeb7193d6 100644
--- a/webpack.common.js
+++ b/webpack.common.js
@@ -50,16 +50,16 @@ module.exports = []
.concat(
...modulesToBuild()
)
- .map(config => merge.smart({
+ .map(config => merge({
module: {
rules: [
{
test: /\.css$/,
- use: ['vue-style-loader', 'css-loader']
+ use: ['vue-style-loader', 'css-loader'],
},
{
test: /\.scss$/,
- use: ['vue-style-loader', 'css-loader', 'sass-loader']
+ use: ['vue-style-loader', 'css-loader', 'sass-loader'],
},
{
test: /\.(js|vue)$/,
@@ -72,38 +72,38 @@ module.exports = []
// don't want to parse all the js files so let's
// use it from within webpack and only check
// against our compiled files
- fix: process.env.ESLINT_FIX === 'true'
- }
+ fix: process.env.ESLINT_FIX === 'true',
+ },
},
{
test: /\.vue$/,
loader: 'vue-loader',
- exclude: /node_modules/
+ exclude: /node_modules/,
},
{
test: /\.js$/,
loader: 'babel-loader',
// automatically detect necessary packages to
// transpile in the node_modules folder
- exclude: /node_modules(?!(\/|\\)(nextcloud-vue-collections|p-finally|p-limit|p-locate|p-queue|p-timeout|p-try|toastify-js|v-tooltip)(\/|\\))/
+ exclude: /node_modules(?!(\/|\\)(nextcloud-vue-collections|p-finally|p-limit|p-locate|p-queue|p-timeout|p-try|toastify-js|v-tooltip)(\/|\\))/,
},
{
test: /\.(png|jpg|gif)$/,
loader: 'url-loader',
options: {
name: '[name].[ext]?[hash]',
- limit: 8192
- }
+ limit: 8192,
+ },
},
{
test: /\.handlebars/,
loader: 'handlebars-loader',
query: {
- extensions: '.handlebars'
- }
- }
+ extensions: '.handlebars',
+ },
+ },
- ]
+ ],
},
plugins: [new VueLoaderPlugin()],
resolve: {
@@ -111,9 +111,9 @@ module.exports = []
OC: path.resolve(__dirname, './core/src/OC'),
OCA: path.resolve(__dirname, './core/src/OCA'),
// make sure to use the handlebar runtime when importing
- handlebars: 'handlebars/runtime'
+ handlebars: 'handlebars/runtime',
},
extensions: ['*', '.js', '.vue'],
- symlinks: false
- }
+ symlinks: false,
+ },
}, config))