Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[eleventy-plugin-scripts] is trying to process external scripts #8

Open
jalberto opened this issue Mar 11, 2022 · 0 comments
Open

[eleventy-plugin-scripts] is trying to process external scripts #8

jalberto opened this issue Mar 11, 2022 · 0 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@jalberto
Copy link

Hi, using basic configuration, works as expected for local JS, but it also tries to process every JS tag including external once

15:53:19 -> Scripts: Error: Build failed with 1 error:
error: Could not resolve "src/_assets/js/https:/cdn.jsdelivr.net/npm/@splidejs/[email protected]/dist/js/splide.min.js"
Error: Build failed with 1 error:
error: Could not resolve "src/_assets/js/https:/cdn.jsdelivr.net/npm/@splidejs/[email protected]/dist/js/splide.min.js"
    at failureErrorWithLog (/home/node_modules/esbuild/lib/main.js:1605:15)
    at /home/node_modules/esbuild/lib/main.js:1251:28
    at runOnEndCallbacks (/home/node_modules/esbuild/lib/main.js:1164:65)
    at buildResponseToResult (/home/node_modules/esbuild/lib/main.js:1249:7)
    at /home/node_modules/esbuild/lib/main.js:1358:14
    at /home/node_modules/esbuild/lib/main.js:668:9
    at handleIncomingPacket (/home/node_modules/esbuild/lib/main.js:765:9)
    at Socket.readFromStdout (/home/node_modules/esbuild/lib/main.js:635:7)
    at Socket.emit (node:events:520:28)
    at addChunk (node:internal/streams/readable:315:12) 💥
@Kapelianovych Kapelianovych added bug Something isn't working good first issue Good for newcomers labels Jul 25, 2022
@Kapelianovych Kapelianovych self-assigned this Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants