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

Cannot load stylesheet. Get "Bundle Error: Unexpected token" #51

Open
brandonfake69 opened this issue Jul 23, 2024 · 0 comments
Open

Cannot load stylesheet. Get "Bundle Error: Unexpected token" #51

brandonfake69 opened this issue Jul 23, 2024 · 0 comments

Comments

@brandonfake69
Copy link

I am working of a brand new install of the Hello World Extension. I've modified it as follows:

 import { initializeBlock } from "@airtable/blocks/ui";
 import React from "react";
 import "./styles.css";
 
 function HelloWorldApp() {
   // YOUR CODE GOES HERE
   return <div className="red">Hello world 🚀</div>;
 }
 
 initializeBlock(() => <HelloWorldApp />);

Where styles.css is:

 .red {                     
   color: red;              
 } 

When I run block run I get the following error:
Bundle Error: Unexpected token

According to this comment It should work but it doesn't. It worked as early as a few weeks ago but then I started another project and now it doesn't?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant