Skip to content

Allow aggregation of full origin URL JS/CSS sources #15

@zachleat

Description

@zachleat

Starting in 0.2.0 <script src="filename.js"> and <link rel="stylesheet" href="filename.css"> contents are aggregated under the normal compilation APIs.

However, using a full URL in these sources will throw an error (use webc:keep to leave these as is).

This enhancement request is to add support for <script src="http://example.com/filename.js"> and <link rel="stylesheet" href="http://example.com/filename.css">, probably using @11ty/eleventy-fetch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions