Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Seems we cannot use custom tsify #62

@bahmutov

Description

@bahmutov

Cypress v6
@cypress/browserify-preprocessor 3.0.1

my settings specify tsify plugin

const browserify = require('@cypress/browserify-preprocessor')
module.exports = (on, config) => {
  const options = browserify.defaultOptions
  options.browserifyOptions.extensions.push('.ts')
  options.browserifyOptions.transform.push('browserify-istanbul')
  options.browserifyOptions.plugin.push('tsify')
  on('file:preprocessor', browserify(options))
}

Then I get the following message

Screen Shot 2021-01-19 at 5 33 40 PM

But if I also use typescript: require.resolve('typescript') option, then my tsify plugin is not used (./lib/simple_tsify is used instead)

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