Skip to content

Deno support #1430

@oscarotero

Description

@oscarotero

I've tried to install postcss in Deno using JSPM (https://dev.jspm.io/postcss) that converts the node code to standard javascript modules and seems that the nanoid dependency is failing, because I get this error:

error: Uncaught TypeError: Import 'https://dev.jspm.io/npm:[email protected]/non-secure/index.dew.js' failed: 500 Internal Server Error
Imported from "https://dev.jspm.io/npm:nanoid@3/non-secure?dew:1"

This only happens with postcss 8, version 7.x can be installed correctly.

Due the source code of postcss is typescript, I guess it shouldn't require much effort to have a Deno version. Or, at least, fix these errors generated by jspm converter.

FYI, there's an attempt to port postcss to deno here: https://github.com/denolib/deno-postcss

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