Skip to content

Equicord compatibility - userplugin compatibility #1

@Chaython

Description

@Chaython

In the userplugin folder this error is expressed:

✘ [ERROR] Could not resolve "./userplugins/Vencord-splitLargeFile-main"

    import-plugins:~plugins:197:17:
      197 │ import p196 from "./userplugins/Vencord-splitLargeFile-main"✘ ;
          ╵                  [~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ERROR

] Could not resolve "./userplugins/Vencord-splitLargeFile-main"

    import-plugins:~plugins:199:17:
      199 │ import p198 from "./userplugins/Vencord-splitLargeFile-main";
          ╵                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When put into EquicordPlus\src\plugins

✘ [ERROR] Could not resolve "@utils/webpack"

    src/userplugins/FileSplitter.tsx:1:38:
      1 │ import { definePlugin, webpack } from "@utils/webpack";
        ╵                                       ~~~~~~~~~~~~~~~~

  You can mark the path "@utils/webpack" as external to exclude it from the bundle, which will
  remove this error and leave the unresolved path in the bundle.

✘ [ERROR] Could not resolve "@utils/webpack"

    src/userplugins/FileSplitter.tsx:1:38:
      1 │ import { definePlugin, webpack } from "@utils/webpack";
        ╵                                       ~~~~~~~~~~~~~~~~

  You can mark the path "@utils/webpack" as external to exclude it from the bundle, which will
  remove this error and leave the unresolved path in the bundle.

2 errors
Build failed with 2 errors:
import-plugins:~plugins:199:17: ERROR: Could not resolve "./userplugins/Vencord-splitLargeFile-main"
src/userplugins/FileSplitter.tsx:1:38: ERROR: Could not resolve "@utils/webpack"
 ELIFECYCLE  Command failed with exit code 1.

When dropped into plugins without its own folder

✘ [✘ ERROR[]ERROR ]Could not resolve "@utils/webpack" Could not resolve "@utils/webpack"

    src/plugins/FileSplitter.tsx:1:38:


    src/plugins/FileSplitter.tsx:1:38:
      1 │ import { definePlugin, webpack } from       1 │ import { definePlugin, webpack } from "@utils/webpack""@utils/webpack";
        ╵                                       ;
        ╵                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  You can mark the path "@utils/webpack" as external to exclude it from the bundle, which will
  remove this error and leave the unresolved path in the bundle.



  You can mark the path "@utils/webpack" as external to exclude it from the bundle, which will
  remove this error and leave the unresolved path in the bundle.

2 errors
Build failed with 2 errors:
import-plugins:~plugins:175:17: ERROR: Could not resolve "./plugins/Vencord-splitLargeFile-main"
src/plugins/FileSplitter.tsx:1:38: ERROR: Could not resolve "@utils/webpack"
 ELIFECYCLE  Command failed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions