diff options
author | Max <max@nextcloud.com> | 2022-03-21 14:10:35 +0300 |
---|---|---|
committer | Max <max@nextcloud.com> | 2022-03-31 15:29:24 +0300 |
commit | 5ea06281ebc17add0074ea696e4a79e5821793d5 (patch) | |
tree | e30f53cb4fe382ee25a1c8b3eaf9968418af106b /cypress | |
parent | 932191e8dcf285c5eba7eb0503f2d5d02e189251 (diff) |
feat: add and remove columns in tables
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'cypress')
-rw-r--r-- | cypress/plugins/index.js | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/cypress/plugins/index.js b/cypress/plugins/index.js index d9762fcd2..6a2be1cea 100644 --- a/cypress/plugins/index.js +++ b/cypress/plugins/index.js @@ -13,13 +13,10 @@ const browserify = require('@cypress/browserify-preprocessor') const webpack = require('@cypress/webpack-preprocessor') -const defaults = webpack.defaultOptions +const webpackOptions = require('@nextcloud/webpack-vue-config') module.exports = (on, config) => { on('file:preprocessor', browserify()) - defaults.webpackOptions.module.rules.push({ - test: /\.md/, - type: 'asset/source', - }) - on('file:preprocessor', webpack(defaults)) + webpackOptions.module.rules.push({ test: /\.md/, type: 'asset/source' }) + on('file:preprocessor', webpack({webpackOptions})) } |