Skip to content

Module parse failed: Unexpected character '#' #1

Description

Hi.
I'm trying to use the loader with JSX files and the #include directive. But I'm getting the following error.
There's some way of using the loader with extendscript JSX files and this syntax?

ERROR in ./jsx/hostscript.jsx 16:0
Module parse failed: Unexpected character '#' (16:0)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| /global $, Folder/
|

#target aftereffects
|
| #include "cvp_includes.jsx";

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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