Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Custom drivers failed on build #2193

Merged
merged 6 commits into from
Aug 24, 2023

Commits on Jul 24, 2023

  1. Modify getMountDriver() in src/utils.ts to "change the require [s…

    …tatement] to a dynamic import()".
    
    Modify `setup()` in `src/module.ts` to await `getMountDriver()`.
    Modify `tsconfig.json` to avoid TS2705 error: "A dynamic import call in ES5/ES3 requires the Promise constructor. Make sure you have a declaration for the Promise constructor or include ES2015 in your --lib option."
    yarrow.love committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    cf1e0e0 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2023

  1. Configuration menu
    Copy the full SHA
    89dfb6d View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Test building with custom driver.

    Reproduce:
    ```
    pnpm install
    npm run build
    npm run dev:fixtures custom-driver
    ```
    yarrow.love committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    5321a37 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2023

  1. Test: Does build succeed?

    yarrow.love committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    d438f1d View commit details
    Browse the repository at this point in the history
  2. Use object notation for 'sources'.

    yarrow.love committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    01480b5 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Configuration menu
    Copy the full SHA
    50b8bc1 View commit details
    Browse the repository at this point in the history