rollup-plugin-less icon indicating copy to clipboard operation
rollup-plugin-less copied to clipboard

declare a less file as external?

Open aminya opened this issue 5 years ago • 0 comments

I want to declare a less file as external. Is there a way to do this?

@import "ui-variables";

When I use external of rollup it does not help:

        // loaded externally
        external: [
            "ui-variables"
        ],
        plugins: [
            less({
                output: "dist/styles.css",
                exclude: ["ui-variables.less"]
            }),
        ],

aminya avatar May 29 '20 01:05 aminya