Skip to content

Commit

Permalink
fixup! fixup! feat: Move to vite for bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusknorr committed Mar 12, 2024
1 parent 1f1b2d4 commit 4c1e5f2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cypress.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import cypressSplit from 'cypress-split'
import { configureVisualRegression } from 'cypress-visual-regression/dist/plugin.js'
import browserify from '@cypress/browserify-preprocessor'
import webpack from '@cypress/webpack-preprocessor'
import webpackOptions from '@nextcloud/webpack-vue-config'


export default defineConfig({
Expand All @@ -26,10 +25,9 @@ export default defineConfig({
cypressSplit(on, config)
configureVisualRegression(on)

webpackOptions.module.rules.push({ test: /\.md/, type: 'asset/source' })

on('file:preprocessor', browserify())
on('file:preprocessor', webpack({ webpackOptions }))
//on('file:preprocessor', browserify())
//on('file:preprocessor', webpack())

return config
},
Expand Down

0 comments on commit 4c1e5f2

Please sign in to comment.