Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Fail to import remote CSS on production build #388

@yo-iwamoto

Description

@yo-iwamoto

I see similar(?) issues have been posted several times and ended because the beta was expected to fix it, but it seem not to be fixed.

Versions

aleph.js 0.3.0-beta.12
deno 1.13.2
v8 9.3.345.11
typescript 4.3.5

Steps to reproduce

  1. Create aleph project
    $ aleph init <project-name>
    
  2. Add import statement on app.tsx
    import React, { ComponentType } from 'react'
    + import "https://esm.sh/tailwindcss/dist/tailwind.min.css";
  3. Build and Serve
    $ aleph build && aleph start
    
  4. See Browser Console (I have no errors in the shell on any of the steps above)

image

this problem occurs regardless of SSR mode.

Repo

https://github.com/you-5805/tweet_decorator/tree/front/signin-navigation/front
I have additional error Uncaught TypeError: Cannot destructure property '~' as it is undefined. on this repo, but I don't know what cause this difference with the steps above.

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions