Skip to content

have you tried postcss from jspm.dev? It works #1

@Ciantic

Description

@Ciantic

Hello,

This is not a problem in your project, but I was experimenting with jspm, from which one can use e.g. react just fine like in Servest

I noticed that PostCSS with autoprefixer works also directly with Deno when ran through it:

postcsstest.js

import autoprefixer from "https://jspm.dev/autoprefixer";
import postcss from "https://jspm.dev/postcss";

postcss().use(autoprefixer).process(".something { appearance: none; }", {
    from: undefined
}).then(f => {
    console.log(f.css);
})
$ deno run .\postcsstest.js

.something { -webkit-appearance: none; -moz-appearance: none; appearance: none; }

So maybe no need to port the whole thing at least?

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