Skip to content
This repository was archived by the owner on Dec 12, 2020. It is now read-only.
This repository was archived by the owner on Dec 12, 2020. It is now read-only.

Expose webpack preprocessor registration #2

@bahmutov

Description

@bahmutov

Allow client project to pas their own webpack options / or path

const {
  onFilePreprocessor,
} = require('cypress-vue-unit-test/webpack-preprocessor')

const webpackConfig = require('../../webpack.config')

module.exports = on => {
  on('file:preprocessor', onFilePreprocessor(webpackConfig))
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions